System design / 6 simulations
Security and Authentication for System Design
Security you can see: OAuth and OIDC sign-in, JWTs vs sessions, TLS handshakes, password hashing, secrets rotation and DDoS defences.
Open the lab → Change the load, break a part, watch what happens. Free, no sign-up.
All topics: security and auth
- OAuth 2 and OpenID Connect: Sign in with GoogleIntermediate · 6 min
Step through the authorization code flow, then add an attacker. PKCE stops stolen codes, state stops login CSRF, and the implicit flow leaks tokens.
- Sessions vs JWTs: stateless tokens and logoutIntermediate · 5 min
Ban a user and see how long their token still works. Sessions revoke at once but need a store; JWTs skip the lookup but live until they expire.
- TLS handshake: HTTPS, round trips and certificatesBeginner · 5 min
Count the round trips before the first byte with TLS 1.2, TLS 1.3, QUIC and 0-RTT resumption, and break the certificate to see the browser stop.
- Password hashing: bcrypt, salts and a leaked databaseBeginner · 5 min
An attacker has your users table. MD5, SHA-256, bcrypt or Argon2, salt or no salt: watch how fast 10,000 passwords fall on GPUs.
- Secrets rotation: changing passwords without downtimeIntermediate · 5 min
Rotate a database password used by four apps. Naive changes break them, overlapping passwords do not, and a vault makes leaked credentials expire.
- DDoS and WAF: CDN, rate limits and bot challengesIntermediate · 6 min
Hit the origin with a bandwidth flood, an HTTP flood, a botnet or SQL injection probes, and stack CDN, rate limits, WAF rules and bot challenges.
Other topics
- System Design Basics
- Scaling Databases and Caches
- Queues, Kafka and Streaming
- Reliability and API Gateways
- Testing and Reliability for System Design
- Networking and API Design for System Design
- Distributed Systems Patterns for System Design
- Database Internals for System Design
- Data Platform and Data Engineering for System Design
- Observability for System Design
- DevOps and Cloud Infrastructure
- Payment System Design
- System Design Interview Questions