Defaulting to No Permission

A permission policy can require an explicit reason to allow an action. Unrecognized actions and unsupported states then have a predictable default outcome.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace a new action
  2. Make failures clear to operators

Trace a new action

Suppose an application already supports reading and archiving and later adds editing. An explicit permission check can require a deliberate entry for editing. Exhaustive conditions give a way to review the full case list.

Make failures clear to operators

An unsupported policy state can be recorded as a configuration issue without exposing unrelated details in a public response. Stable diagnostic codes support that separation.[1]

References

  1. OWASP Cheat Sheet Series, Authorization Cheat Sheet ↩