Password policy

Password policy is a trivial security control related to authentication. Passwords are commonly prone to dictionary attacks, brute-force attacks, and password-guessing attacks. If the application allows weak passwords to be set, then they could easily get compromised. A strong password policy typically has the following conditions:

It is important to note that the password policy must be enforced both on the client as well as the server side.