multi-tenancy

One running system serving several separate customers, called tenants, while keeping each one's data and settings apart.

A single missed tenant filter exposes one customer’s data to another.

In more detail

Every request must be tied to its tenant, and a mistake can expose one tenant's data to another. The tenant should come from verified identity, such as a signed token, never from the request body, and be applied to every query automatically. Software-as-a-service products are usually built this way.

Related terms

Taught in

References