Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
The password filter provides the option of using a normalization technique, that when enabled, allow you to prevent the use of common character substitutions and patterns that can lead to easily guessable passwords.
If you take the example
P@ssw0rd - a simple variant of the word
password with some well-known substitutions. While the symbol, number, and uppercase letter are enough to keep most complexity filters happy, these well-known substitutions provide no additional difficulty to modern password cracking tools. Users will commonly make predictable modifications to dictionary words such as the common
winter to the banned store prevents the use of
Winter2019 and all other variants into the future.
The normalization process applied to the string is as follows
- Lower case the string according to the invariant culture rules
- Remove all whitespace from the string
- Remove the following leading and trailing symbols and numbers from the string
- Substitute the following characters found in the string
The following table highlights some normalization results on common patterns