System Design
13. Security ArchitectureAnimated
Authentication
Proving who you are.
The idea
Passwords, tokens, biometrics or certificates verify identity.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- current message
- earlier
- failure or attack
The user logs in.
- step:
- 1/6
- from:
- Browser
- to:
- Server
1/6
Time runs downward. Solid arrows are requests, dashed arrows are replies.
Step by step
- 1Present a credential
- 2Server verifies it
- 3Issue a session or token
- 4Check it on later requests
Where it is used
Logins and APIs.
Watch out for
Store passwords hashed with a slow salted hash, never in plain text.