Admin Login

Active Directory Password Policy: Core Concepts and Self-Service Systems

Password length, complexity, password history and how Fine-Grained Password Policies relate to a self-service password reset flow.

The Active Directory password policy is one of the controls that determines the basic rules for the passwords users can create and how accounts respond to incorrect sign-in attempts.

Using a self-service password reset system does not mean those policies disappear. Whichever interface the new password is created from, it must comply with the current rules of Active Directory.

Which rules does a password policy contain?

In Active Directory environments, password policies can differ according to the organisation's configuration.

Frequently used controls include:

  • Minimum password length
  • Password complexity
  • Password history
  • Minimum password age
  • Maximum password age
  • Account lockout policies

Why does password history matter?

Password history limits the user's ability to reuse passwords they have used recently.

For example, if the policy requires the last 10 passwords to be remembered, the user cannot choose one of those passwords again.

A self-service password reset application must not bypass this control.

What is Password Never Expires?

The "Password never expires" option can be enabled on Active Directory accounts.

This configuration can be used deliberately on certain technical accounts. However, if it is unexpectedly enabled on standard user accounts, that is a situation worth examining from the point of view of the organisation's password management policy.

For that reason, making accounts with PNE set visible can be useful for IT teams.

Should a self-service system define its own password policy?

Generally you do not want to define the rules Active Directory already enforces a second time, independently.

Otherwise two different sources of policy appear.

For example, if the portal asks for a minimum of 10 characters while Active Directory asks for a minimum of 12, the user may create a password that looks valid in the portal even though the directory operation then fails.

The more consistent approach is to take the rules that can be read from Active Directory and show them to the user during the operation.

Why is live password checking important?

Learning that a password does not meet the rules only after pressing "Save" is a poor user experience.

Instead, while the user is typing the new password, the interface can show:

  • Whether the length requirement is met
  • The complexity requirements
  • The other relevant rules

That way the user can make the necessary corrections before the operation is completed.

Should the username appear inside the password?

In corporate password systems, additional controls can be applied that prevent values directly related to the account, such as the username, from being used inside the password.

However, when password rules are being determined, you should look not only at complexity but also at the organisation's overall authentication strategy.

What about Fine-Grained Password Policies?

It should not be assumed that all users in an Active Directory environment have the same password policy.

If Fine-Grained Password Policies are in use, different password and account lockout rules can apply to different users or groups.

For that reason, when a self-service solution is being designed, it is important to take into account not only the default policy at domain level but the policy that actually applies to the user.

The basic principle in self-service password reset

The right approach is simple:

The self-service system performs identity verification; Active Directory remains the authority for the password rules.

That way the user experience is improved while the existing directory policies are preserved.

How does PRESS handle password policies?

PRESS includes the Active Directory password rules in the self-service password reset flow.

While the user creates a new password, the relevant requirements are checked in the interface and, when the operation succeeds, the new password is applied directly to Active Directory.

The password is not stored in the PRESS database.

You can review the PRESS password reset flow through the live demo.

Evaluate PRESS in your own environment.

Through the live demo you can explore the user portal and the admin panel directly.