indigoxela / passphrase_policy

Set minimum password composition constraints to encourage the use of pass phrases.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Passphrase Policy

Enforce restrictions on user passwords by defining a password policy that encourages the use of pass phrases.

The password constraints are pre-defined and must be met before a user password change will be accepted. Each constraint has a parameter allowing for the minimum number of valid conditions which must be met before the constraint is satisfied.

The password rules follow the model from Stanford University's IT department. Stanford recommends "pass phrases" instead of passwords. Pass phrases are longer, but easier to remember than complex passwords, and if well-chosen can provide better protection against hackers.

Stanford's password rules change based on password length:

  • 10-11: mixed case letters, numbers, & symbols
  • 12-15: mixed case letters & numbers
  • 16-19: mixed case letters
  • 20+: no restrictions

It must not be equal to your previous password or contain your username.

The rules meet or exceed the following public standards:

Most of the CWE-521: Weak Password Requirements are also resolved by this.

Stanford University IT Password Requirements Quick Guide

Usage

Enable the module for full functionality. There is no configuration.

Having no configuration is intentional because it prevents users from altering the password rules when they're annoyed by them. Disabling the module logs a high level alert for administrators to review.

Current Maintainer

  • None

Credits

About

Set minimum password composition constraints to encourage the use of pass phrases.

License:GNU General Public License v2.0


Languages

Language:PHP 100.0%