Access is the ability of a user or service to use a resource in an information system. It can allow someone to view data, change it, or use a feature. In an online store, one person may have permission to prepare an order while another may have permission to change the account that receives payments.
Access is defined for each resource and action
A resource can be an order, a folder of invoices, a sales report, or a setting in an administration panel. The same person might have read access to reports and edit access to product listings. Export permission, for example, lets someone download a set of records and use it outside the application. Review it separately from permission to see an individual record in the dashboard.
A software service can have access too. For example, a courier integration can receive the delivery details it needs to generate a shipping label. The business decides which fields are sufficient for that operation and assigns access to other data to the roles that use it.
How access relates to authentication and authorization
Authentication verifies the identity presented to the system. Authorization determines whether that identity can perform a particular action on a resource. After authentication, a well-designed application checks permissions on the server for each relevant request. For example, when an employee requests an export, the application checks export permission even if that employee is already signed in and can view orders.
- Identity
- Who is making the request?
- Request
- Which resource and action are involved?
- Decision
- The applicable permission allows or denies the action.
An example of access in an online store
Imagine a store where warehouse staff pack orders, customer support answers questions, and an administrator manages roles and payment settings. All three teams work with the same orders. Each needs different information or actions based on its responsibilities.
| Role | Access needed | Access reserved for another role |
|---|---|---|
| Warehouse | Views items and delivery details for assigned orders. Marks parcels as packed. | Changing payment settings. |
| Customer support | Checks order details and status to answer a customer. | Exporting the complete customer list. |
| Designated administrator | Manages roles and store settings within limits approved by the business. | Financial approvals assigned to someone else. |
The table illustrates decisions a business might make. If support also handles refunds, the store can specify who initiates them, who approves them, and which orders qualify. Permissions then reflect how the team works, including exceptions that arise during daily operations.
How to apply the principle of least privilege
Least privilege means granting only the permissions needed for a task. Start with actions that have a larger impact, such as exporting data, changing payment settings, or granting administrative rights. For each, decide which role needs the permission, who approves it, and when it will be reviewed. A clear rule lets the application deny a request when the role lacks permission.
An agency spending a week updating product listings can use a named account with permission to edit the catalog. Record when that access should end and confirm its removal when the project closes. To check the role, use an authorized test account and sample data. Confirm that the account holder can complete the task and that operations reserved for other roles are denied.
What to check when the team changes
Review permissions when someone changes duties, finishes a contract, or takes on a temporary assignment. Check for permissions carried over from the previous role. When removing access, determine whether active sessions or associated keys need to be revoked too, based on how the application works. A log of role changes helps the administrator see who made a change and when it took effect.
Where to start with an existing application
Pick a sensitive action, such as exporting customer records, and document who should be able to perform it and which data they need. Compare that decision with the permissions already configured in the application. If roles, exports, or server-side checks need review, Web Hat can help with securing access to online stores and applications.