Index

A lock on every door of the stall (security inside a design)

The Contract at the Counter
The Contract at the Counter · Open board

The counter where two services meet across a written menu. This lesson walks round the back of that counter and asks which doors still check who is asking.

Before you start. From The Contract at the Counter (API design) you need the API, the written menu of what a caller may ask for, and its two refusals: 401 means “I don’t know who you are”, 403 means “I know who you are, and no”. From Authentication, a login hands you a badge (a token) whose stamp stops matching if anyone edits it. From Authorization & Identity, the second question every request must answer: “is this thing yours?” Transport & Network Security gave TLS, the lock on the line that stops anyone between a phone and a server from reading along, and The bouncer at the door (rate limiting) gave the man on the door who counts requests per customer.

Continue reading with a plan

The first three lessons of every track are free. This lesson is included with a plan, which unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

Review System Design →

Saved in this browser, and to your account when you sign in.