Shipping ItLesson 58 of 74

Module 7 · Security after the short list

Authentication is not authorisation

In this lesson

  • 9 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 1 of 9 in this chapter

This chapter’s goalEnforce authorisation per object rather than per page, revoke a session or rotate a key without an outage, and run the first day of a breach or an abuse report with evidence preserved and users told the truth.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

Two questions that get answered in one place, badly

Authentication asks who you are. Authorisation asks whether you may do this, to this thing, right now. Most small applications answer the first carefully and the second by accident: a middleware that checks somebody is logged in, and then handlers that trust whatever ID arrives in the URL.

That gap has a name in the security literature (broken object-level authorisation) and it is consistently reported as the most common serious flaw in web APIs. It is also the easiest to demonstrate and the least likely to be caught by a test suite, because the request is perfectly valid.

Text
GET /api/invoices/1041     -> your invoice
GET /api/invoices/1042     -> somebody else's invoice, 200 OK

No attack tool is required. Somebody changed a number.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Agents and Automation exam.

Stuck on something?Ask Tri, your AI tutor

How to cite: Addaly (2026) ‘Authentication is not authorisation’, in Shipping It. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/cloud-and-shipping/who-is-allowed-to-do-what (Accessed: 29 November 2026).