Security

Security protocols protect data in transit and at rest. These lessons step through the handshakes, key exchanges, and verification procedures that make trust possible.

01
TLS 1.3 HANDSHAKE
One round trip to a secure channel
L218 MIN
02
BUFFER OVERFLOW
Writing past the end rewrites control flow
L215 MIN
03
SQL INJECTION
User input becomes database commands
L215 MIN
04
XSS
Injecting scripts into other users' browsers
L216 MIN
05
CSRF
Your browser sends cookies, even from evil.com
L215 MIN
06
OAUTH 2.0
Delegated authorization without sharing passwords
L218 MIN
07
DIFFIE-HELLMAN
Shared secret over a public channel
L215 MIN
08
TIMING ATTACK
The clock leaks your secrets
L215 MIN
09
HASHES, MACS & SIGNATURES
Integrity, authenticity, and who can prove what
L115 MIN
10
SECRETS, ROTATION & REPLAY
A signed request is still valid the second time it arrives
L215 MIN
11
CAPSTONE: HARDEN A LOGIN FLOW
Everything in this path, in one sign-in form
L320 MIN
12
JWT PITFALLS
A token must not tell the verifier how to verify it
L216 MIN
13
IDOR
Logged in is not the same as allowed to see this one
L216 MIN
14
SSRF
Your server will fetch anything, from anywhere it can reach
L320 MIN
15
TENANT ISOLATION
Every handler checks the tenant; the cache does not
L318 MIN