Authorization and policy
Permissions, roles, attributes and relationships, and how policies are evaluated, enforced, tested and changed.
19 lessons · about 3 hours of reading · every lesson has a lab
Start with Designing permissions
Permissions and access decisions
Designing named permissions and checking access to every object a request touches.
2 lessons · about 16 minutes of reading
- Designing permissionsReplace an all-or-nothing admin flag with named permissions, check permissions instead of job titles in code, and make every unmatched request a denial.5 min read · Lab
- Checking access to each objectCheck access to objects nested inside other objects, to both ends of a move, to every item in lists and search results, and to individual fields.11 min read · Lab
Roles and RBAC
Role-based access control: assignments and their scope, designing a role model, and administering roles safely.
3 lessons · about 25 minutes of reading
- Roles, assignments, and scopeBuild a role assignment from a person, a role and a scope, tell groups from roles, and work out what someone can actually do.7 min read · Lab
- Designing a role modelDesign roles from tasks, combine built-in and custom roles, see where inheritance surprises, and recognize when roles multiply out of control.9 min read · Lab
- Administering roles safelyControl who can change access, stop escalation through role edits, separate duties, keep an administrator in charge, and make removed access take effect.9 min read · Lab
Attributes and ABAC
Attribute-based access control: rules over attributes, where attributes come from, and context such as device and risk.
3 lessons · about 24 minutes of reading
- Writing rules with attributesTurn embargo and licensing requirements into rules about the subject, resource, action and environment, and treat a role as one attribute among several.8 min read · Lab
- Where attributes come fromChoose an authoritative source for each attribute, weigh attributes carried in tokens against fresh lookups, and fail safely when one is missing.8 min read · Lab
- Context, devices, and riskUse time, network, device and risk signals in access decisions, knowing what each can show, and ask for a stronger sign-in instead of refusing outright.8 min read · Lab
Relationships and ReBAC
Relationship-based access control: ownership, membership and sharing as the source of access.
2 lessons · about 17 minutes of reading
- Access through relationshipsModel ownership, membership and sharing as relationships, follow the graph to a decision, and see why asking what someone can see is the harder question.8 min read · Lab
- Sharing and revoking accessShare with people, groups and links, handle people outside the organization, remove access in the right order, and keep relationship checks bounded.9 min read · Lab
Policy evaluation and enforcement
Decision and enforcement points, evaluating a policy rule by rule, testing and changing policy safely, and policy as code with a decision API.
5 lessons · about 45 minutes of reading
- Decision and enforcement pointsSeparate asking from deciding with enforcement, decision, information and administration points, compare where decisions run, and handle an unavailable one.9 min read · Lab
- Evaluating a policyFollow a policy evaluation rule by rule, settle conflicting rules, and see how decisions carry reasons and instructions for the enforcement point.9 min read · Lab
- Enforcing access across a systemFind the entry points a policy can miss, divide checks between the edge and the service, turn a policy into a query, and limit delegated access.10 min read · Lab
- Testing, auditing, and changing policyTest what a policy denies, try changes in shadow mode, record decisions with their policy version and reason, explain denials safely, and govern emergency access.10 min read · Lab
- Policy as codeWrite a policy in Cedar against a schema, validate, test and analyze it before it is published, ask decisions through the AuthZEN Authorization API, and map it all to the four decision points.7 min read · Lab
Access in context
What zero trust changes, conditional access policies, device trust and posture, and continuous access evaluation.
4 lessons · about 32 minutes of reading
- What zero trust changesReplace network location as a reason to trust with a decision on every request, and map NIST SP 800-207's tenets and components onto a real system.7 min read · Lab
- Conditional access policiesAttach conditions to one action, answer with an RFC 9470 step-up challenge, and return through acr_values and max_age with stronger evidence.8 min read · Lab
- Device trust and postureSeparate posture facts from their sources, see what hardware attestation proves, and bind device evidence to each request with DPoP or mutual TLS.7 min read · Lab
- Continuous access evaluationTell other systems when access changes: security event tokens, Shared Signals streams, push and poll delivery, and CAEP and RISC events.10 min read · Lab