Two accounts reveal an important question
In an application shared by agents or shops, a user signs in with a valid account. Opening a customer sends a request containing that customer's identifier. The next testing question is simple: what happens if the identifier points to a customer belonging to another account?
If the system only checks that the requester is logged in, records may become accessible beyond that person's authority. The problem need not appear on the main screen. Interface filters can look correct while the underlying service accepts requests that should be refused.
Identity differs from permission
Authentication establishes who the user or requesting party is. Authorisation determines which action that party may perform on a particular resource. The decisions must connect, but a successful login does not establish permission to open every record.
OWASP lists Broken Object Level Authorization as API1 in its 2023 API Security Top 10. That list is a technical risk framework, rather than Indonesian breach statistics or proof that a particular percentage of applications is vulnerable. The issue concerns checking permission against the requested object.
OWASP also explains that identifiers can be numbers, UUIDs, or other strings. Replacing sequential numbers with random identifiers may reduce guessing but does not replace authorisation. The server must still assess the relationship between requester, action, and object.
Define business boundaries before building filters
Create a simple matrix covering roles, ownership, organisations, and actions. Establish whether agents may only see their own customers, whether supervisors have additional access, and how permissions are granted or revoked. Teams should not have to infer policy from dashboard appearances.
Ownership also needs definition when customers are reassigned, staff leave, or one person works across several organisations. Specify the resulting permission changes and when they apply. Access that was legitimate yesterday is not necessarily legitimate today.
Separate reading from modifying, deleting, sharing, and exporting. A person may need a work summary without being entitled to download the entire customer database. Boundaries should follow actual work requirements and relevant data obligations.
Check every path to the same object
A customer-detail endpoint is only one route. Search, result lists, reports, attachments, download links, and export jobs can all expose the same information. One unchecked route can undermine protection implemented elsewhere.
Pay attention to background work continuing after the initial request. An export may finish after the user's role has changed. Decide whether permission is checked again before delivering the file and how long its link remains usable for the product's purpose.
In a multitenant service, a tenant identifier submitted by a user cannot simply establish authority. Connect organisational context to verified sessions and relationships. Administrative operations crossing organisations need a separate route and appropriate oversight.
Test refusal as a correct outcome
Prepare test accounts with different relationships and fictional records. Attempt to read, change, and export objects belonging to other owners or organisations. Expected outcomes should include safe refusal without disclosing contents through error messages or metadata.
Test after access revocation, object reassignment, and reuse of an old session. Include attachments and asynchronous jobs that screen-based testing often misses. Perform tests only on authorised systems in appropriate environments, rather than trying other people's identifiers on public services.
OWASP's Authorization Cheat Sheet recommends least privilege, denial by default, and permission validation on every request. Teams need to translate those principles into repeatable tests. Evidence of refusal belongs in feature acceptance, rather than being added only immediately before launch.
Maintain policy as the product expands
Every new sharing, import, global-search, or reporting feature needs a boundary review. Record policy decisions so product changes do not expand access unintentionally. Appropriate logs can support investigation without retaining excessive customer information.
A useful quality measure is whether the team can explain and demonstrate who may do what to which object. Customer trust depends on consistent boundaries throughout the service. Login starts that relationship, while authorisation protects it throughout use.
Use the matrix during change review, with one allowed example and one required refusal for each new action. Record the business reason for the distinction. This helps teams detect unintended permission expansion when an existing feature is reused in a new context.
- OWASP — API1:2023 Broken Object Level Authorization: object checks and identifiers.
- OWASP — Authorization Cheat Sheet: least privilege and request validation. These are technical guidelines, rather than a 2026 prevalence survey. Scenarios illustrate product decisions and do not report a particular incident. Research cutoff: 30 November 2026.
Published: December 4, 2026




