Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,113 of 9,113 pages
About the help in other languages
All help pages

Password policy

For public bodies that must set a password policy - Exponential's password settings (minimum length, weak password check, composition rules, reset link lifetime, change notification), the shipped defaults, and a…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/security/password-policy.md

On this page

Password policy

This page is for administrators and security officers who write or implement the password policy of a public body for its website accounts. The settings are in settings/site.ini [UserSettings] and [PasswordSettings]; every form that sets a password applies them through expPasswordPolicy (13.6 Passwords and sign-in).

Contents

  1. The settings and their defaults
  2. A recommended policy
  3. If your policy prescribes composition rules
  4. What changes for users
  5. Related pages

The settings and their defaults

SettingDefaultMeaning
[UserSettings] MinPasswordLength10minimum, in bytes
GeneratePasswordLength16length of generated passwords
WeakPasswordCheckenabledrefuse well-known and common passwords
WeakPasswordFile, WeakPasswordList[]emptyyour own forbidden words
ForgotPasswordKeyLifetime3600seconds a "Forgot your password?" link works
HashTypephp_defaultbcrypt today; never plaintext or md5 types
[PasswordSettings] RequireLowercase, RequireUppercase, RequireDigit, RequireSymboldisabledcomposition rules
MinCharacterClasses0at least this many of the four kinds
ForbidLogindisabledmust not contain the login name
ForbidCurrentPassworddisabledmust differ from the current one
EndOtherSessionsenabledsign other sessions out after a change
ChangeNotificationMailenabledmail "your password was changed"
StrengthMeter, GenerateButtonenabledhelp users reach length

The installation guide recommends, in line with NIST SP 800-63B-4 (which asks for at least 15 characters where a password is the only factor and advises against composition rules):

# settings/override/site.ini.append.php
[UserSettings]
MinPasswordLength=15

[PasswordSettings]
ForbidLogin=enabled
ForbidCurrentPassword=enabled

Add your organization's own forbidden words (its name, the site's name, the city) with WeakPasswordList[] or WeakPasswordFile. ASVS 4.0.3 level 1 asks for at least 12; 15 meets both. Combine with two-step sign-in for staff.

If your policy prescribes composition rules

Some organizational policies still prescribe them. Exponential supports them:

[PasswordSettings]
MinCharacterClasses=3

or the individual Require* switches. The installation guide notes that such rules tend to produce predictable passwords; record the reason if you use them.

What changes for users

  • Raising the minimum locks nobody out: existing passwords keep working; the rule applies when a password is next set.
  • MinPasswordLength counts bytes: in scripts with multi-byte characters fewer characters reach it.
  • After a change, other sessions of the user are signed out and the user gets a notification mail.
  • Accounts with older hash types are re-hashed at their next sign-in (UpdateHash=true).

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x