Pass the menu and read the page

SignupFolio

Signup password rules: 8 checks before you publish

The National Cyber Security Centre states that complexity requirements provide no defence against common attacks and should not be used NCSC.

Key takeaways for password length blocklist and expiry checks before a signup form

  • Before adding complexity rules, note that the National Cyber Security Centre says they provide no defence against common attacks.
  • Length minimums differ: single-factor passwords need a longer minimum, while the shorter minimum applies only when the password works alongside another factor.
  • Before launch, confirm the maximum password length is high enough to allow passphrases without truncating them.
  • If a chosen password appears on the blocklist, tell the visitor the specific reason for rejection rather than showing a generic error.
  • Only ask users to change passwords when compromise is suspected, since regular password changing harms rather than improves security.

What to check on a signup password field, in one paragraph

Before your form asks a visitor to choose a password, verify eight specific lines from NIST, Microsoft, OWASP, and the National Cyber Security Centre. These checks cover length thresholds, composition bans, blocklist comparisons, expiry policies, and lockout limits. The National Cyber Security Centre explicitly advises against using complexity requirements, noting they provide no defence against common attacks NCSC. Your immediate task is to mark yes or no against each of the eight checks on the form you already run. Do not create a new account or pay anyone to start this review. The scope is limited to the password field on your signup page. See also Test signup authentication with 5 steps before release. Ensure the eight-character and fifteen-character lines are applied to the correct factor contexts. The blocklist check must include a reason for rejection. Routine expiry should be evaluated against the stance on forced changes. The lockout line specifies a range of five to ten tries. These eight checks form the basis for the subsequent sections. Each section will detail the specific thresholds and rules. The reference table will list the rules by publisher. The blank checklist will allow you to mark your current form. The FAQ will answer specific questions about applicability. Start by identifying which factor context applies to your form. If a second factor is required, the eight-character line applies. If the password is the only factor, the fifteen-character line applies. Allow at least sixty-four characters for maximum length. Do not require a mixture of character types. Compare the password with a blocklist. Do not force a routine expiry. If the account locks, allow five to ten tries. Keep Microsoft's fourteen-character recommendation separate from the eight-character product minimum. These are the eight checks you must verify.

Before the form goes live, verify the password field against these eight lines from NIST, Microsoft, OWASP, and the National Cyber Security Centre.

Length lines: 15 characters, eight characters, 64 characters, and 14 characters

The length of the password field on your signup form depends on whether the password is the only way to verify identity or if it works alongside another factor. NIST Special Publication 800-63B states that verifiers and CSPs SHALL require passwords used as a single-factor authentication mechanism to be a minimum of 15 characters in length, according to NIST. If the password is only part of a multi-factor authentication process, the same source notes that verifiers and CSPs MAY allow shorter passwords but SHALL require them to be a minimum of eight characters in length, according to NIST. This distinction is critical for your form logic: if you offer multi-factor authentication, the minimum requirement drops to eight characters, but if the password is the sole factor, the minimum is 15 characters.

For the maximum length, NIST Special Publication 800-63B advises that verifiers and CSPs SHOULD permit a maximum password length of at least 64 characters, according to NIST. The OWASP Authentication Cheat Sheet Series aligns with this, stating that the maximum password length should be at least 64 characters to allow passphrases, according to OWASP. Setting your input field to accept at least 64 characters ensures you do not truncate longer, potentially stronger passphrases.

Microsoft’s guidance on the Microsoft 365 admin page recommends maintaining a 14-character minimum length requirement, according to Microsoft. The same page clarifies that even though Microsoft 365 requires at least eight characters, for stronger security, they recommend a minimum of 14 characters, according to Microsoft. It is important to keep these two numbers distinct: eight characters is the product minimum for Microsoft 365, while 14 characters is the specific recommendation for stronger security. Do not conflate the product requirement with the security recommendation when configuring your own form.

OWASP also references NIST SP800-63B in its guidance on weak passwords. The OWASP Authentication Cheat Sheet Series states that if MFA is not enabled, passwords shorter than 15 characters are considered to be weak, according to OWASP. Conversely, if MFA is enabled, passwords shorter than 8 characters are considered to be weak, according to OWASP. These thresholds mirror the NIST requirements directly. When you review your form, check if your validation script rejects passwords under 15 characters for single-factor accounts and under 8 characters for multi-factor accounts. If your form does not distinguish between these two modes, you may be enforcing the stricter 15-character rule unnecessarily for multi-factor users, or the weaker 8-character rule for single-factor users.

Composition rules and the blocklist, including the reason for a rejection

Do not require a mixture of different character types in the password field. NIST Special Publication 800-63B states that verifiers and CSPs SHALL NOT impose other composition rules, such as requiring mixtures of different character types, for passwords according to NIST. The National Cyber Security Centre adds that complexity requirements provide no defence against common attacks and should not be used according to National Cyber Security Centre. Remove any form validation that forces the visitor to include numbers, symbols, or uppercase letters alongside lowercase letters. See also Passkey registration: 4 steps for a new account flow.

Compare the prospective password against a blocklist of known commonly used, expected, or compromised passwords. NIST Special Publication 800-63B requires verifiers to compare the prospective secret against such a blocklist when processing a request to establish or change a password according to NIST. Microsoft Entra Password Protection blocks known weak passwords and their variants, and can also block other weak terms that are specific to your organization according to Microsoft.

If the chosen password is found on the blocklist, the system must require the subscriber to select a different secret and provide the reason for rejection. NIST Special Publication 800-63B specifies that the CSP SHALL provide the reason for rejection when the password is found on the blocklist according to NIST. A generic error message like "invalid password" does not meet this requirement. The feedback must tell the visitor why the specific choice was rejected so they can choose a different one.

Check your current form for any character mixture requirements and remove them. Verify that your backend checks the password against a blocklist before accepting it. Ensure the error message displayed to the visitor explicitly states the reason for rejection, such as "this password is too common," rather than a vague failure notice. These settings are distinct from length rules and expiry policies covered in other sections of this guide.

Routine expiry and the 5-to-10 lockout line

Routine password expiry is not recommended. National Cyber Security Centre states that regular password changing harms rather than improves security. This source advises that you should only ask users to change their passwords on indication or suspicion of compromise. Microsoft states that the recommended setting is for passwords to never expire. If your backend account management system has a routine expiry timer active, consider disabling it in favor of a compromise-based reset process.

The second part of this section addresses what happens when a visitor enters an incorrect password multiple times. Some systems implement an account lockout mechanism. National Cyber Security Centre provides a specific range for this setting: if using lockout, allow users between 5 and 10 login attempts before locking out accounts. If your platform locks an account after three attempts, it is stricter than this recommended range. If it locks after twenty attempts, it is more lenient. The goal is to balance security against user frustration. A lockout that is too easy to trigger may annoy legitimate users who make a typo, while a lockout that is too hard to trigger may allow automated guessing scripts to continue.

Illustrative example: a password-only signup form

Suppose the form uses only a password. The 15-character minimum applies, so a 10-character password is too short, while a 20-character passphrase passes and stays under the 64-character maximum. Figures are illustrative.

Password rules by publisher

The following table summarizes the specific password policy lines attributed to NIST, Microsoft, and OWASP.

PublisherRule
NIST15 characters for single-factor; 8 characters for multi-factor
Microsoft14-character minimum recommended; 8 required for Microsoft 365
OWASPWeak under 15 characters without MFA; weak under 8 with MFA

NIST requires passwords used as a single-factor authentication mechanism to be a minimum of 15 characters in length, according to NIST. For passwords used only as part of multi-factor authentication processes, NIST requires a minimum of eight characters in length, according to NIST. NIST also advises that verifiers and CSPs permit a maximum password length of at least 64 characters, according to NIST. NIST states that verifiers and CSPs shall not impose other composition rules, such as requiring mixtures of different character types, according to NIST. When processing a request to establish or change a password, NIST requires verifiers to compare the prospective secret against a blocklist that contains known commonly used, expected, or compromised passwords, according to NIST. If the chosen password is found on the blocklist, NIST requires the CSP to require the subscriber to select a different secret and to provide the reason for rejection, according to NIST.

Microsoft recommends maintaining a 14-character minimum length requirement, according to Microsoft. The same page notes that Microsoft 365 requires at least eight characters, but recommends a minimum of 14 characters for stronger security, according to Microsoft.

Checklist for length, maximum and composition

Start by opening the form builder for the signup page you already run. Locate the password input field and its validation rules. Compare the current minimum length setting against the 15-character requirement for single-factor authentication, as stated in NIST Special Publication 800-63B according to NIST. If your form offers multi-factor authentication, confirm the minimum is no lower than eight characters, a threshold also noted in the OWASP Authentication Cheat Sheet according to OWASP.

Next, check the maximum length limit. The form should permit at least 64 characters to allow for passphrases, a recommendation found in the OWASP Authentication Cheat Sheet according to OWASP. Ensure that no composition rules force users to mix uppercase, lowercase, numbers, or symbols, since such requirements should not be used according to National Cyber Security Centre.

Next step: mark each check yes or no on your form today.

FAQ about signup password rules

What does the 15-character line apply to?

NIST Special Publication 800-63B requires passwords used as a single-factor authentication mechanism to be a minimum of 15 characters in length according to NIST. This specific length threshold applies strictly when the password is the sole method of verification. It does not apply if other authentication factors are present in the login process.

What does the eight-character line apply to?

Verifiers and CSPs may allow passwords that are only used as part of multi-factor authentication processes to be shorter but shall require them to be a minimum of eight characters in length according to NIST. This reduced minimum applies specifically when the password is one component of a multi-factor setup. It does not apply to passwords used as the single-factor authentication mechanism.

Is a mixture of character types required?

No. Verifiers and CSPs shall not impose other composition rules, such as requiring mixtures of different character types, for passwords according to NIST. This guidance explicitly advises against enforcing rules that demand specific character combinations. Your form should not force users to include a mix of symbols, numbers, and letters.

Is a routine expiry required?

No. The recommended setting is for passwords to never expire according to Microsoft. This recommendation applies to the Password policy recommendations in Microsoft 365 admin contexts. It suggests that forcing users to change their passwords on a regular schedule is not the preferred configuration.

What is the 5-to-10 line about?

If using lockout, allow users between 5 and 10 login attempts before locking out accounts according to National Cyber Security Centre. This range applies specifically to systems that implement account lockout mechanisms. It defines the acceptable window of failed attempts before the system blocks further login tries.

Sources and check date

Related posts

More posts