Security · Intermediate · 12 min

Authorization

Enforce server-side permission checks even when callers alter URLs or roles change.

STEP 1 / 13
Request another user’s object — isometric concept diagramAuthorize the requested action on the requested object. Components: 1. Authenticated caller. Representative clients, not a literal user count; 2. Policy enforcement. Logical component or processing boundary. Connections: 1. Authenticated caller to Policy enforcement: Request another user’s object; 2. Policy enforcement to Authenticated caller: Reply: Policy enforcement. Illustrations are conceptual, not deployed capacity or user counts.Authenticated caller → Policy enforcement: Request another user’s object1Policy enforcement → Authenticated caller: Reply: Policy enforcement2Authenticated caller: Representative clients, not a literal user count1Authenticated callerRepresentative clients, not aliteral user countPolicy enforcement: Logical component or processing boundary2Policy enforcementLogical component or processingboundary
1Authenticated caller2Policy enforcement
  1. 1Authenticated caller → Policy enforcementRequestRequest another user’s object
  2. 2Policy enforcement → Authenticated callerReplyReply: Policy enforcement

Conceptual illustration · figures do not imply user counts, deployed capacity or replica counts.

2 components visible · Authenticated caller + Policy enforcement highlighted

Orange: request / query · Blue: reply · Purple: event / control · Arrows show direction; speed is illustrative.

You’ll learn

  • Authorize the actual object and action.
  • Coarse roles and object scope solve different questions.
  • Equivalent effects need equivalent authorization.

PUT THE IDEA TO WORK

From learning to practice

No related challenges are currently available. Browse practice

RELATED PATTERNS

Explore architecture patterns ↗

Further reading

OWASP · Authorization ↗