Authorization 2026-11-05
Authorization decides whether a Security principal may perform a requested action on a protected object under a policy. authentication establishes an identity or source claim; authorization uses that claim together with permissions and context. Successfully proving an identity does not itself confer every operation.
For example, Alice may authenticate to a document service and be allowed to read one file but not overwrite it. The service must check the actual operation and object, not merely whether Alice logged in earlier. In filesystem traversal, permission to search each intervening directory is part of reaching a named file; knowing a pathname alone is insufficient.[ref] Enforcement must occur at the boundary controlling the operation, because hiding an unavailable button in a graphical interface does not stop a separately formed request.
Security principal 2026-11-05
A security principal is an identity to which an access control system can attribute requests or permissions. It can represent a user, an access-control group, a service or a machine. Authentication establishes a claimed identity; authorization decides which operations that identity may perform.[ref]
For example, an analysis service can read a file using its own service identity even when a human user initiated the request. The relevant security principal for the file access is the identity carried into that access check, not automatically the human at the keyboard. Explicit identities prevent accidental confusion between who requested an action and whose authority executes it.