Reference Monitors and Complete Mediation
Locate authorization at the access boundary and account for changes in resource ownership or policy after a cached decision.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Every access follows the same meaning of the rule
A reference monitor mediates operations between a subject and protected resource. For a file service, opening a file and exporting its contents through a background job both create an access path. Both need the same authorization semantics. Keep the enforcement mechanism small enough to review and protect its policy and state from unauthorized alteration.
A cached permit needs an explicit validity condition
A role decision made before an administrator revokes a grant may no longer apply. A valid cache key can include relevant policy and resource versions, or the system can explicitly define the lifetime of a granted handle. Which rule applies is a policy decision that should be consistent across interfaces. Least privilege constrains which rights exist in each path. Session lifecycle concerns the separate state establishing which subject makes the request.[1][2]