Access control in security is the set of rules and mechanisms that decide who gets to see or use a resource, and what they are allowed to do with it once they are in. Encryption scrambles data so outsiders cannot read it, but access control answers a different question: which authorized people should even be handed the key in the first place. Without it, a perfectly encrypted file becomes readable the moment the wrong insider logs in.
Think of encryption as the lock on a vault door and access control as the guard checking IDs, deciding which vaults each person may open, and revoking a badge the instant someone leaves. Both matter, but they do not do the same job, and one cannot cover for the other.
Content Table
What access control actually means
Access control is a two-part decision made every time someone requests a resource:
- Authentication proves you are who you claim to be (a password, a passkey, a fingerprint).
- Authorization decides what that verified identity is allowed to do (read a file, delete a record, approve a payment).
People often blur these together, but they are separate. Logging in successfully does not mean you should be able to touch everything on the system. A cashier and a store manager might both authenticate at the same terminal, yet only one can issue refunds. That gap between "who you are" and "what you may do" is exactly where access control lives.
Why encryption cannot replace access control
Encryption is brilliant at one specific threat: someone intercepting or stealing data they were never meant to hold. If a laptop is stolen or a database dump leaks, encryption at rest and in transit keeps that data unreadable without the key. But encryption has a blind spot: it treats every valid key holder as fully trusted.
Consider what encryption does not stop:
- An employee with legitimate access copying customer records to a personal drive.
- A contractor who still has login credentials months after the project ended.
- A junior staffer opening files far above their pay grade because nobody restricted them.
- A compromised account being used to read everything that account could normally read.
In every one of those cases the data was decrypted correctly, because the person (or the attacker wearing their identity) held a valid key. Encryption did its job flawlessly and the breach still happened. Access control is the layer that says "yes, you have valid credentials, but you specifically are not allowed to open that." Even strong end-to-end encryption assumes the right people hold the keys, which is a decision access control has to make first.
The three principles that make it work
Good access control is not about locking everything down until work becomes impossible. It runs on three well-established ideas.
Least privilege
The principle of least privilege means every user, process, and service gets the minimum access needed to do its job, and nothing more. A payroll clerk needs the salary database; they do not need production server access. When an account is limited this way, a compromised login can only damage the small slice it could reach. The NIST glossary defines it as granting only the authorizations required to perform a specific task.
Need to know
The need to know principle is least privilege applied to information specifically. Even someone with high clearance should only see the particular data relevant to their current task. A doctor can access patient files, but ethically and often legally only for patients under their care, not the entire hospital roster. It shrinks the blast radius of any single account.
Separation of duties
No single person should control an entire sensitive process end to end. The one who requests a payment should not also approve it. This blocks both fraud and honest mistakes, because a second person has to sign off before anything critical happens.
Common access control models
How you assign those permissions in practice usually follows one of a few standard models.
| Model | How access is decided | Best for |
|---|---|---|
| Role Based Access Control (RBAC) | Permissions attached to roles (e.g. "Editor"), users inherit the role's rights | Most companies; scales cleanly as teams grow |
| Attribute Based (ABAC) | Rules evaluate attributes: department, location, time, device | Complex, context-sensitive environments |
| Discretionary (DAC) | The resource owner decides who else gets access | Small teams, shared documents |
| Mandatory (MAC) | A central policy enforces fixed classification levels | Government, military, high-security systems |
Role based access is the most widely used approach because it maps neatly to how organizations already think. Instead of granting permissions to 500 individuals one by one, you define a handful of roles and assign people to them. When someone changes teams, you swap their role instead of untangling dozens of individual grants. That simplicity is also its weakness: sloppy role design leads to "privilege creep," where people accumulate roles over the years and end up with far more access than their current job needs.
Why revocation is the hardest part
Granting access is easy. Taking it away reliably is where most organizations quietly fail. Access revocation means fully cutting off a person's or system's ability to reach a resource, and it needs to happen the moment their reason for access ends.
Common revocation failures include:
- Orphaned accounts: a departed employee's login still works weeks later.
- Cached sessions: access is "revoked" in the admin panel, but an active session token keeps working.
- Shared credentials: you cannot cleanly revoke one person when five people use the same login.
- Forgotten third parties: old API keys and contractor accounts nobody remembers.
This is where the difference between access control and encryption becomes very practical. If you shared a sensitive password over a normal chat or email, you cannot really un-share it once it exists in someone's inbox. Tools built around one-time access and expiry solve this at the data level. For example, learning how to share passwords securely shows how a link that self-destructs after one read enforces revocation automatically, instead of trusting everyone to delete the message.
Authentication strength matters here too. Weak, reused passwords make revocation meaningless because attackers get back in through credential stuffing attacks. Moving to passkeys instead of passwords makes the authenticate half of access control far harder to bypass, so the authorization rules you set actually hold.
Putting it into practice
You do not need an enterprise budget to apply solid access control. The core moves work for a two-person startup and a global bank alike:
- Default to deny. Start everyone with no access, then add only what is needed. It is far safer than starting open and trying to lock down later.
- Review access regularly. Every quarter, ask whether each person still needs what they have. Remove anything stale.
- Kill shared logins. One identity per person, so revocation and audit logs actually mean something.
- Log and monitor. Records of who accessed what, and when, turn a silent breach into a detectable one.
- Expire access by default. Time-limited grants beat permanent ones. Access that ends on its own cannot be forgotten.
Encryption and access control are partners, not substitutes. Encryption protects data from outsiders who should never touch it; access control protects it from insiders and compromised accounts who technically could. Get both right and a stolen key is useless, an over-broad grant is impossible, and a revoked user is truly locked out.
Enforce access revocation the moment it is read
The hardest part of access control is taking access away. A self-destructing note deletes shared passwords and sensitive data after a single read, so revocation happens automatically instead of relying on someone to delete the message.
Create a self-destructing note →
Frequently asked questions
Authentication verifies who you are, usually through a password, passkey, or biometric. Authorization decides what you are allowed to do once your identity is confirmed. You can authenticate successfully and still be blocked from a resource because your permissions do not include it. Access control combines both steps.
No. Encryption stops outsiders without the key from reading data, but it trusts anyone who holds a valid key. It cannot stop an authorized insider, a compromised account, or a contractor with leftover credentials from opening data they should not. Access control governs which valid users may reach each resource.
Least privilege means giving every user, process, or service only the minimum access needed to do its job, and nothing extra. If an account is compromised, the damage is limited to that small slice of access. It is one of the most effective ways to shrink the impact of any single breach.
Role based access assigns permissions to roles, and users inherit them by holding that role. Need to know narrows things further, limiting access to only the specific information relevant to a task, even for people with a high clearance level. Many secure systems layer need to know on top of role based access.
Granting access is a single easy step, but revoking it fully means catching every place access lives: cached sessions, active tokens, shared logins, forgotten API keys, and orphaned accounts. Missing any one of these leaves a door open. Time-limited access and one-time links make revocation automatic instead of manual.
