Frontend Labs
⋯
🗓️

Week 11: API Security & Authentication (Days 75–81)

8 chapters · 17 min of reading

Phase: 3 — L7 Networking + WAF + API Security Goal: Build the authentication and authorization layer for your API gateway. Cover API keys, HMAC request signing, JWT-like tokens, token bucket rate limiting, input validation, PII scrubbing, and CORS — the complete API security surface.


Background in this wiki: HTTPS guide Ch 12 (authentication, cookies, CORS) and Ch 21 (rate limiting by identity, idempotency keys); OSI guide, Layer 3 on why IP addresses aren't identities. Security in Depth: Chapter 24 (token exchange, with a Go JWT lab), Chapter 25 (ReBAC, with a Go lab), and Part 6A (API security).

Contents

8 chapters, one page each. Prefer one long page? Read the whole book on one page.

  1. Day 75 — API Authentication Patterns3 min
  2. Day 76 — Rate Limiting at L72 min
  3. Day 77 — Input Validation3 min
  4. Day 78 — JSON Schema Enforcement2 min
  5. Day 79 — Sensitive Data Protection2 min
  6. Day 80 — API Abuse Prevention2 min
  7. Day 81 — CORS & Preflight2 min
  8. Week 11 Mini Project: API Security Gateway1 min

Generated from week11.md · 8 Oct 2026 16:36