Foxcolab

Glossary

Access control

Definition

Access control: The rules and checks that decide whether a person, program or process may perform a requested action on a resource, such as reading a file or changing a setting. It follows authentication and should deny anything not explicitly allowed.

Also known asauthorizationpermissionsaccess management

In short

Access control is the set of rules and checks that decide who can do what with which resource, such as reading a file, editing a document or changing a setting. It comes after authentication, which proves who you are. Good access control denies by default and is enforced on the server. In end-to-end encrypted apps, access also depends on who holds the key.

Key takeaways

  • Authentication proves who you are; access control decides what you may do.
  • Deny by default, then grant the least access each person needs.
  • Checks must run on the server; hiding a button isn't access control.
  • In end-to-end encrypted apps, removing someone properly means changing the key.

Last reviewed 3 December 2026 by Foxcolab Team

Access control is the set of rules and checks that decide who can do what with which resource: read a file, edit a document, approve an invoice, change a setting. NIST describes it as "the process of granting or denying specific requests" to obtain and use information (NIST). It runs after authentication. Signing in proves who you are; access control decides what you're allowed to touch.

How it works#

Every request has three parts: a subject (a person or program), an action (read, edit, delete, share) and a resource (a file, a record, a setting). A policy decides whether that combination is allowed. Policies come in a few common shapes: the owner decides who gets in, as with sharing a document; access follows a role, as in role-based access control; or rules weigh attributes such as department, device and time.

Two principles hold across all of them. Deny by default, then grant only what each person needs, the principle of least privilege. And enforce the decision on the server, where the user can't change it.

Where it breaks#

Broken access control is number one in the OWASP Top 10:2025. The classic flaw is an insecure direct object reference: you open https://app.example.com/invoices/1043, change it to 1044 and see another customer's invoice, because the server never checked that invoice 1044 is yours. OWASP's advice is plain: "Except for public resources, deny by default," and "Access control is only effective when implemented in trusted server-side code."

Other common mistakes:

  • Hiding the button instead of blocking the request. The API still answers anyone who calls it.
  • Forgetting to remove access. People change teams or leave, and their old permissions stay.
  • Links that never expire. A link shared once for a project can still work a year later.

When the server can't read the data#

In a conventional app, the server reads your data and decides whom to show it to. In an end-to-end encrypted app, the server holds only ciphertext, so access also travels with keys. Granting access means encrypting the key for someone; removing it properly means changing the key, so future changes are locked to people who still belong.

In Foxcolab#

Foxcolab Docs shows both layers. Share a document as Editor, Commenter or Viewer, and Docs encrypts the document key for that person on your device. Remove someone, and Docs re-locks the document with a new key: People you removed can't read future changes (how sharing works). Foxcolab Drive links can carry a password, an expiry date and a download limit, and Notes pages can be limited to Only people invited. Create a free account to try it.

Keep exploring

All terms

Foxcolab

Private work tools, without the ads.

Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.

Jump to