Creating a Password Policy

Overview

A password policy defines which rules apply to user passwords on your site. In the free version, you can manage one policy. The PRO version supports unlimited policies, each targeting different user groups.

Creating a Policy

  1. Navigate to Settings → Login Security.
  2. Open the Policy tab (or Policies in PRO).
  3. In the free version, the tab shows the one policy, which the plugin sets up for you. In the PRO version, click Add policy. The new policy goes to the top of the list and opens on its own page.
  4. In the policy’s Policy card, turn on Policy is active, then click Save. In PRO, you can also turn a policy on with the Active switch in its row on the Policies tab.

A policy is inactive when it is first created — including the one the free version sets up for you. Until you activate it, the plugin enforces nothing, no matter which rules are on inside it. Next to the policy’s name, a label reads Active or Inactive.

A policy's own page, with its name, its Active label and the Policy card

Policy Settings

A policy’s page starts with its name and its Active or Inactive label. Beside the cards, a list of links jumps to each section: Who it applies to, Length, Password age, Mixed characters, Current password and Blocked passwords, and in PRO also Reuse. Below them, each rule has a card of its own.

The Policy Card

  • Policy is active — Turns the policy on or off. New policies start inactive. While it is off, the policy’s rules are kept but nobody is held to them.
  • Policy name — A name only administrators see (default: “New password policy”). Use a name that describes which users it applies to, such as “Administrator policy” or “Default policy.”
The Policy is active switch in the Policy card

Rule Cards

A rule card has a switch, the rule’s name, and on the right a summary of its current values, such as At least 10 characters, or Off while the rule is off. A rule’s values show only while its switch is on. Who it applies to has no switch and always shows its values. The cards are:

  • Who it applies to — In the free version, everyone who logs in to the site. (PRO) The roles and people the policy covers. See User Coverage.
  • Require a minimum length and Limit the maximum length — See Length Rules.
  • Make passwords expire and Require a wait between changes — See Age Rules.
  • Require mixed characters — Requires specific character types in passwords, and can limit characters from the person’s name or ban some characters. See Complexity Rules.
  • Ask for the current password first — People type their current password before they choose a new one on their profile screen. See Require Current Password.
  • Refuse passwords with restricted words — Refuses passwords that contain a word from the site’s list. See Restricted Words and Phrases.
  • Require a minimum strength — Requires passwords to reach a level on the password strength meter. See Minimum Password Strength.
  • Refuse passwords found in data breaches (PRO) — Screens passwords against the HaveIBeenPwned breach corpus. See Breached Password Screening.
  • Refuse common weak passwords (PRO) — Rejects commonly used weak passwords. See Weak Password List.
  • Refuse recently used passwords (PRO) — Blocks users from reusing recent passwords. See Password Reuse Prevention.

In the free version, the Blocked passwords section ends with a note about the breached and common password checks PRO adds.

The rule cards of a policy, each with its switch and summary

Try the Policy

Beside the rule cards, the Try the policy card lists the requirements of the policy as you are editing it, unsaved changes included. Type a sample password into Sample password to see which requirements it meets. The sample is not stored. Rules a sample cannot be tried against, such as the password age, characters from the person’s name and the current password, are listed under Checked when a real password is saved.

The card is for you, not a preview of another screen. People choosing a password on their profile or on the password reset screen see the requirements as one hint sentence below the password field, such as “Hint: password should be at least 10 characters long; must contain base digit(s) (0-9)…”.

Saving a Policy

After configuring the policy, click Save in the header. The policy takes effect immediately for all applicable users.

Multiple Policies (PRO)

In the PRO version, the Policies tab lists every policy under Password policies. Each row shows the policy’s name, an Active switch that turns the policy on or off, who it applies to, and a short summary of its rules. Click a policy’s name, or Edit in its row’s menu, to open it on its own page. The page shows Policy 1 of 4 and the like next to the name, an All policies link back to the list, and a menu with Duplicate and Delete.

  • Duplicate puts an inactive copy of the policy right below it, named after the original with “(copy)” after it.
  • Delete asks you to confirm first. Nothing changes until you save.

Policies are checked from top to bottom, and each person gets the first active policy that matches them. Inactive policies are skipped. To change the order, drag a policy by its handle, or use Move up and Move down in its row’s menu. With the keyboard, focus the handle, press Space, move the policy with the arrow keys, and press Space again to drop it. Escape cancels the move. Put policies for specific people and roles above a policy for everyone. See User Coverage for details on targeting policies to specific users.