Site security requires the participation of the users who access it. For example, while you need to secure your WordPress login page (as itβs a point of entry,) the credentials your users choose need to be strong too. This makes it almost certain that a malicious user wonβt get a free ride to your site.
For this tutorial, weβre going to look at how to implement WordPress password security guidelines. Itβs going to cover some of the ground our companion article on WordPress password protection does. However, it will also talk about how you can make sure users follow those guidelines in line with your own strong password policy.
Why password security is so important
On the surface, this should be straightforward: strong passwords mean hackers and other malicious users will have a harder time breaking into your site. However, thereβs more to consider here:
- Strong passwords are only one link in the chain. However, without them, your secure shackles will corrode fast.
- You can combat fake users or bots on your site through the need to set a strong password that changes often.
- WordPress is a secure platform. However, WordPressβ popularity means itβs a common target. A strong (and thorough) password security policy will protect the site as a whole.
On the whole, robust, strong password security is vital for your website. In fact, WordPress includes functionality to help you set stronger passwords for signups and registrations.
How WordPress helps you implement strong passwords for all users
The WordPress.org website offers its own list of WordPress password best practices, but the platform now includes ways to encourage users to use strong passwords. You can test this out from your user profile page on the WordPress dashboard:
The Account Management section includes two options by default, but one is of interest here. You can use the Set New Password button to open up a field that will autofill with a strong and unique password. All the user will need to do here is copy the password to store it (more on this later) and save the changes.
However, if the user attempts to set a weak password, youβll spot that the dialog and options change to reflect this:
In cases like this, the user will need to confirm that they want to use the weak password using a checkbox. However, while itβs an extra step, most users will likely click the button and save the changes.
This isnβt ideal because it becomes one of your siteβs vulnerabilities. Instead, youβll want to implement a password security policy.
Why you need a solid password security policy for your site and users
We talk about password policies in our complete guide to WordPress password protection. However, to sum up, a strong password security policy will take the process out of the userβs hands for the most part.
As such, they wonβt need to worry about sophisticated password-cracking bots, or brute force attacks. Instead, you can provide your users with a policy that fits your guidelines and let them continue to interact with your site safely.
However, itβs important to know what a strong password policy looks like. Letβs discuss this next.
The elements of a strong password security policy
One of the major benefits of a strong password security policy is that you can customize it to your needs and those of your users. However, there are a lot of WordPress password rules and policies you can put in place that can shore up your site and protect users:
- You could ensure a minimum length for all passwords.
- Youβd also want to set up password expiration times too. Otherwise, youβll find the same usersβ passwords will be in place for a long time, which is risky. Forcing expiry gives users the push to create new strong passwords.
- WordPress user roles can have different password rules too. For instance, an Admin will arguably want a more stringent policy than a Contributor.
Later on, weβll talk more about how to implement strong passwords using a dedicated policy plugin for WordPress. First, though, weβll go through some essential elements of strong password security.
WordPress password security guidelines: a checklist
Next, letβs talk about some of the key password security guidelines your users should follow, and that you should implement. Itβs a short checklist because, with a little care and thought, you wonβt need many elements for all users to have strong credentials.
Weβll start with one of the most basic factors you can apply.
1. Make sure your password is long and strong
Much of the discussion around choosing a strong password values variety and random elements. For example, special characters can be important in a password you generate at random:
However, if you take this same philosophy and implement it in the wrong way, youβll likely end up with a poor password choice:
Instead, we now know that password length is more important to its strength than the variety of characters. This philosophy even finds its way into popular media, such as this password cartoon from XKCD:
However, youβd do well to implement special characters and numbers too. After all, if you combine both length and variety, youβll have even stronger passwords.
2. Use a password manager to store your credentials
One drawback to using long passwords is that they can be hard to remember, and is probably why typical advice often suggests using a mix of characters. In the past, we didnβt have the tools to create, store, and recall passwords. However, modern technology has a number of password manager apps to choose from.
Some of the most popular choices include 1Password and LastPass. Most browsers now include the ability to create and store passwords too. In fact, the three major players β Google Chrome, Apple Safari, and Mozilla Firefox β can all help users store passwords. However, this isnβt a good idea for optimal security.
In many cases, these browsers will also have extensions to integrate with third-party apps. For starters, youβll keep your password data away from any potential browser vulnerabilities. Whatβs more, youβll have an extra layer of security.
Most third-party password managers will offer encryption of your data, along with Two-Factor Authentication (2FA.) In addition, youβll have better quality-of-life features than the browser. For instance, most password managers will monitor your credentials and inform you if they are compromised.
3. Update the password on a regular basis
Updating your passwords is almost a non-negotiable element of password security. After all, no password is 100 percent secure, which means that the potential for it to be cracked and leaked on the web exists, regardless of how minute it may be.
Because of this, changing passwords for all of your logins is a necessary step for your WordPress siteβs users to ensure a leaked or cracked password is no longer valid. Weβd recommend an instant password change in any of the following scenarios:
- If your WordPress site or account is hacked, breached, or you find malware on the server.
- Company-wide data breaches are also a time when youβll want users to change passwords. While you could focus on affected accounts only, itβs better to ask all users to change their passwords as a precaution.
- If you choose to remove someone from your network, itβs a good idea to at least change the password for their account. Once you finalize everything, you can delete the user account altogether.
In some other cases, youβll want to ensure that you change a password based on specific circumstances. For instance, many public Wi-Fi outlets will only offer an unsecured network to browse the web. If you handle sensitive information, you could fall foul of legal requirements to protect data in these situations. Because of this β and that using public Wi-Fi is not a good practice anyway β youβll always want to change the password should you find yourself needing to use an unsecured network.
The best way to implement strong passwords for your WordPress website
WordPressβ own password security functionality is good as a basic way to help protect users, but it has shortcomings. Instead, WordPress plugins can close the gap and add the useful features youβll need to implement a strong password policy and security.
A WordPress security plugin is vital for any website, but this might not always include everything you need to implement WordPress password security. This is why WPassword will be a good addition to your current security measures.
Once you install and activate WPassword, youβll easily spot the plugin on the WordPress dashboard. The WPassword > Password Policies screen gives you your first task: toggle on the core policy functionality. Once you do this, youβll see a whole host of options:
The password policy editor is powerful and contains all of the features youβll need to enforce strong passwords on your site:
- You can specify a minimum length for passwords and determine whether the password has to contain numerals, uppercase and lowercase lettering, special characters, and even block certain characters.
- Thereβs a simple field to implement password expiration times based on your own needs and wants. You even have a one-click feature to reset passwords in bulk.
- Youβll also be able to set timeframes for inactive users, at which point they will be automatically locked.
WPassword also includes more features to help you implement your WordPress password security policy. For example, you can choose to not allow for using older passwords. Even better, configuring each of these options uses the default WordPress interface of checkboxes and drop-down menus, with no code required.
Wrapping up
If your WordPress site users donβt use strong passwords, as a matter of course, you could be risking a security breach. This can have irreparable ramifications. As such, youβll want to customize a dedicated password policy using WPassword.
The plugin lets you create a strong password policy and enforces it too. Your users wonβt have to lift a finger, but youβll ensure the security of your WordPress site is much stronger than before.
Do you have any questions about how to implement WordPress security guidelines on your site? Ask away in the comments section below!