RBAC and ABAC (role-based access control)
Two ways to decide who may do what: RBAC grants permissions through roles such as admin or viewer, ABAC through attributes of user, resource and context.
In role-based access control you assign people to roles (admin, editor, viewer) and permissions to roles, never directly to people. NIST’s RBAC project formalized the model, later published as an ANSI standard. It is easy to explain to an auditor and to review during an access review. Its weak spot is role explosion: “editor in Poland, only for own team” becomes yet another role.
Attribute-based access control decides from attributes: the user’s department, the record’s owner or classification, the time or device. NIST described it in SP 800-162 in January 2014. Most B2B apps end up with a mix: roles for the coarse level, plus a rule that a user only sees their own company’s records, often enforced with row level security. Security questionnaires ask whether access is role-based and follows the principle of least privilege.
Sources
- NIST CSRC: Role Based Access Control project csrc.nist.gov
- NIST: SP 800-162, Guide to Attribute Based Access Control (ABAC) Definition and Considerations csrc.nist.gov
Related terms
- Authentication vs authorization (authn vs authz): Authentication proves who you are; authorization decides what you may do. Most access bugs live in the second, after a perfectly good login.
- Principle of least privilege: Every person, service and AI agent gets only the access needed for its task, for only as long as needed, so a stolen account can do little harm.
- User access review (access recertification): A periodic check, often quarterly, where owners confirm who still needs access to each system and remove the rest, keeping evidence for auditors.
- SCIM (user provisioning): A standard API that lets a company’s identity system create, update and remove user accounts in your SaaS automatically.
- Row Level Security (RLS): Database rules that decide, row by row, which records each user may read or change. Missing RLS is a common leak in AI-built apps.
- Multi-tenancy (multi-tenant SaaS): One application and one deploy serving many client companies, with each client’s data kept apart.
