Authentication and Authorization in One Request

Authentication establishes an account or other principal. Authorization decides which operations that principal can perform on the identified resource.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace a draft read
  2. Test both conditions independently

Trace a draft read

A successfully signed-in reader may still lack permission to read someone else's draft. Evaluate the resource policy after establishing the user's identity. See preview and publish state for why drafts and public pages differ.

Test both conditions independently

Use synthetic accounts for an allowed read, a signed-in reader without permission, and a request without identity. Decision tables keep those outcomes reviewable.[1][2]

References

  1. NIST SP 800-63B-4, Digital Identity Guidelines: Authentication and Authenticator Management ↩
  2. OWASP Cheat Sheet Series, Authorization Cheat Sheet ↩