Skip to main content
07. Security/Lesson 2 of 3
13 minIntermediate13 steps

Authorization

Knowing who someone is doesn’t tell you what they may see or do. Checking that, everywhere.

  • Others’ data exposedyes
  • Permission checkslogin only
  • Service accesseverything
InvoicesAPIinvoices1043 · Acme · $48,200Alice · Acmechecks: logged in? ✓Eve · GlobexGET /invoices/1043 → Acme’s!
  • Alice
  • Eve (outsider)
  • Eve, own data
  • response
  • × failed request