Everything that goes into building a correct, fast, safe backend service: HTTP and REST, auth, SQL, indexing, transactions, and the caching/queueing patterns that keep it standing up. Language- and vendor-agnostic.
Add it to your projects to study it here with your progress saved. Try it plays a round and saves nothing. Clone makes your own copy that you can change.
You’re reading a free preview. Sign up to see every topic and question — and to play this deck as games.
Proving who a caller is and deciding what they may do: sessions versus tokens, how JWTs really work, cookie hardening, password storage, and the OAuth 2.0 / OpenID Connect flows worth knowing.
43 total questions
Card #1
What is the difference between authentication and authorization?
Card #2
How does server-side session authentication work?
Card #3
What are the three parts of a JWT?
1. A JWT library accepts any token whose header says "alg": "none". What can an attacker do?
2. An API verifies RS256 tokens, but its library lets the token header pick the algorithm. An attacker switches the header to HS256. What is the attack?
3. A nightly billing job calls an internal API with no user involved. Which OAuth 2.0 grant fits?
1. An API client sends its access token in the ___ header, as the word Bearer followed by the token.
Hint: An HTTP request header name
2. OAuth ___ limit what an access token may do, for example read-only access to a calendar.
Hint: Requested by the client, shown on the consent screen
3. Comparing a secret token with ordinary string equality can leak it through a ___ attack, so use a constant-time comparison.
Hint: The attacker measures how long each comparison takes