Authentication
Lesson 32 of 40 · Sys.Micro
Prove who is calling: passwords done right, sessions vs tokens, and delegating login.
An old backup with the users table ends up on the internet. If it contains plain passwords, or fast hashes like MD5, attackers log in as everyone, and into their other accounts too, because people reuse passwords.
Never store passwords: store slow, salted hashes
Check yourself
Why are bcrypt/Argon2 preferred over SHA-256 for passwords?
Do it in the browser: a real system design tool, a short mission and instant feedback. No install.
Start this lesson — free