Default deny and separation of duties
Permission must be established
Default deny means a request is refused unless an applicable rule permits it. Least privilege means providing only the permissions necessary for the task. These are complementary: first require a positive reason to grant access, then keep the grant narrow. For our fictional library, an unrecognized action or a missing identity does not become an approval.
A two-person approval rule
Suppose removing a fee requires two steps. A Clerk may propose a fee correction. A Reviewer may approve a pending correction only if someone else proposed it. Separation of duties divides sensitive responsibilities so that one individual cannot complete the entire controlled action alone. In this toy policy even a person holding both roles cannot approve their own proposal.
Read the access matrix
Mina has Clerk and Reviewer; Ali has Reviewer only. Correction C1 was proposed by Mina and is pending. Mina may create a new proposal but cannot approve C1. Ali may approve C1 because he has the Reviewer role and is not its proposer. Ali cannot create a new proposal because he lacks Clerk. A completed correction cannot be approved again in this toy model. Check current state and permissions on the server, not merely the button display.
Test denials as well as approvals
Test a permitted approval, self-approval, missing role, expired session and unknown action. Record the expected allow or deny and reason; compare actual results when an implementation is available. A toy matrix does not prove transaction safety: a real system must enforce the policy against current authoritative state at the time of the change, handle concurrent requests and preserve audit evidence. Review permissions when responsibilities change.
Practice and recap
Fill in the chapter’s offline access matrix. For each decision identify the principal, action, resource, policy condition and missing evidence. Explain one limitation of the model. Next chapter: threats, vulnerabilities and risk.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Default deny and separation of duties — Knowledge check
Apply identity and access principles to fictional library scenarios.
No rule permits a new action. What does default deny require?
Mina has both roles and proposed C1. Can she approve it?
Ali is a Reviewer only. C1 is pending and proposed by Mina. Can Ali approve it?
Which negative test checks the two-person requirement?
What must a real system add beyond a static access matrix?