Policy and Reset
Modern password guidance is shorter than people expect. Length matters far more than composition rules. Forced rotation makes passwords worse, because people iterate a number on the end. Composition rules push people towards Password1!, which is both hard to remember and easy to guess.
What actually helps: a decent minimum length, checking against lists of known-breached passwords, and not blocking password managers by disabling paste.
A reset flow has four requirements, and getting any wrong is a full account takeover.
The token must be random and long, not derived from anything guessable.
It must expire, in hours rather than days.
It must be single use, invalidated once used or once the password changes.
The response must be the same whether or not the account exists, or the form becomes a way to discover who has an account.
And changing a password should invalidate existing sessions, or somebody who got in stays in.
Mark this lesson complete
Signed in, your progress follows you to every device.