Skip to content

Map Tenant Data Boundaries Before a Review

Trace each tenant-owned record from entry point to storage and output before you review isolation.

A tenant boundary is not one check in one API handler. Data can leave through a list query, an export worker, a cache, a file link, or an internal dashboard. Start by mapping one important record type through every path that creates, reads, changes, and deletes it. The OWASP Multi Tenant Security Cheat Sheet treats isolation as a system property. AWS also separates identity from the mechanisms that isolate pooled resources.

The boundary map

Use one row per path. Do not mark a path safe only because its first screen asks for a tenant ID.

PathInput identityStored ownerEnforcement pointOutput
Record detailAuthenticated user and membershipTenant ID on recordOwner-bound lookupOne permitted record
SearchUser context sent to index layerTenant metadata on indexed itemRetrieval filterSuggestions and results
ExportRequester plus job identityTenant on source rows and output fileWorker query and download checkTemporary file
Support viewStaff identity and approved tenantTenant on target recordScoped overrideRedacted support data

For your system, replace each example with the actual service, query, and permission rule. Mark unknown enforcement points as unknown. A service name alone does not prove that its queries apply the tenant constraint.

Follow one record end to end

Choose a synthetic record with an obvious tenant marker. Trace how the application assigns its owner at creation. Check whether update and delete paths derive the owner from trusted authentication context or from caller input. Then follow copies in search, analytics, logs, backups, and asynchronous jobs. Copies can outlive a primary row and can have different access rules.

Add an expected decision for two users: one member of the owning tenant and one member of another tenant. Include a public or shared record only when that state is part of the product. The map should show which layer makes each decision, not merely where an error appears.

Treat this as preparation for an owned or explicitly authorized review. It is not permission to probe another company's endpoints. If a path lacks an owner or enforcement point, hold the isolation claim until the product team can name and test it. The completed map is the input to a tenant authorization matrix, not proof that every route is secure.

Find the gaps in your access controls

See how an illustrative cross-workspace finding connects evidence, impact and a fix. Discuss the tenant boundaries your team needs reviewed.

Sources

  1. OWASP Multi Tenant Security Cheat SheetAccessed
  2. AWS SaaS Tenant Isolation StrategiesAccessed