TOPIC 12/1920 MINNOT STARTED

Multi-tenant (SaaS) testing: keeping each customer's data apart

When many customers share one running app, each must see only their own data. Learn to set up look-alike test customers, try the wrong door on every way in, and report a leak.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: a block of flats with one key per flat. One building holds many families. The building is shared. Each family has its own flat. The porter at the door must hand each person only the key to their own flat.

Daily List is a to-do list app. It has grown, and many families now use one running copy of it. Each family is a space of its own. Lily's family is one. Another family is another.

Mei, the test lead, gives Tom to test on the Daily List test site. Tom sets up two made-up test families with look-alike but unshared lists, each with a distinct marker so he can identify the owner. He signs in as the first family. Then he changes the number in the address of a list to a number that belongs to the second family.

If the page shows the second family's list, that is a serious fault. The porter handed over the wrong key. This is multi-tenancy testing. Each family is a tenant. The check is a .

The picture has a limit. A building has walls. Software can use several isolation controls, and each access path needs the intended protection. Searches, exports and reminders are doors too.

(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB Trying the wrong door on every way in to a shared product, to make sure each customer sees only their own data.

  1. Set up look-alike tenants
  2. Try the wrong door
  3. Try every way in
  4. Stop and tell if there is a leak
Two families, every door

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
The shared buildingThe shared running copy of the app
One flat for each familyOne tenant for each customer
The key the porter hands overThe tenant context taken from the signed-in session
The porter checking each personThe server checking ownership on each request
Every door in the buildingEvery way in: screens, search, exports, emails and jobs

WHERE THIS PICTURE STOPS

  • A building has walls. Software has only checks.
  • A porter stands at one door. Software needs a check at each of many doors.
  • A building does not change overnight. A product changes with every release.

HOOK

One building, many flats, a check at every door.

REMEMBER IT THIS WAY

A rule of thumb: if you see this, think that.

Sign in as one family, then change the number in a list's address to the other family's. If the page opens, usually that is a tenant isolation fault.

What each part of the trick stands for
In the trickWhat it stands for
Two familiestwo made-up test families with look-alike lists
Wrong keyThe porter handed over the wrong key

Searches, exports and reminders are doors too, so passing the address check does not cover them.

TELL A FRIEND

A shared block of flats where the porter must give each person only their own key, and a tester who tries the wrong door everywhere.

OFTEN MIXED UP WITH Permissions: who can see and do what. That lesson is about what each role in one account may see. This lesson is about keeping whole customers apart from each other.

Sources & standards — 3 sources
  1. Market practice

    Multi Tenant Security Cheat Sheet ↗ — Open Worldwide Application Security Project (OWASP) · Actual tenant selector validation, context, isolation-model tradeoffs, caches/APIs/queues/files and signed access; selected sections reviewed6November2026.

    Actual tenant context/selector validation, isolation-model tradeoffs, cache/API/queue/file controls and signed-download guidance. A client selector must be validated, not categorically forbidden; legitimate sharing and service roles need explicit policy. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

    V34 review, 6 November 2026: Read actual relevant current sections6November2026; the earlier opening-only/search disclosure remains historical. No fixed security ranking of separate database/schema/shared table is asserted.

  2. Market practice

    Authorization cheat sheet (Open Worldwide Application Security Project cheat sheet series) ↗ — Open Worldwide Application Security Project · Actual introduction/least privilege/default deny/every-request and object checks: public resources and explicitly authorised sharing differ from permission bypass; read6November2026.

    Guidance page. Treats authorization as a separate question from authentication, and describes least privilege and deny by default. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    Broken Object Level Authorization, the first risk in the 2023 Open Worldwide Application Security Project API Security Top 10 ↗ — Open Worldwide Application Security Project (OWASP) · Actual API1:2023 action/object permission definition: knowing or guessing an ID and being authenticated are insufficient; read6November2026.

    API1:2023 Broken Object Level Authorization: permission for the requested action on the requested object. Identifier format, authentication and matching a session user ID alone do not establish that permission. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: 2023 edition. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

    V34 review, 6 November 2026: Read actual API1:2023 body6November2026: definition, examples and prevention. Use its authorisation term to resolve the GraphQL sheet typo; do not equate every access to another owner's intentionally shared object with a vulnerability.

PRACTISE AND KEEP

Sources for this topic — 6 sources
  1. Market practice

    Multi Tenant Security Cheat Sheet ↗ — Open Worldwide Application Security Project (OWASP) · Actual tenant selector validation, context, isolation-model tradeoffs, caches/APIs/queues/files and signed access; selected sections reviewed6November2026.

    Actual tenant context/selector validation, isolation-model tradeoffs, cache/API/queue/file controls and signed-download guidance. A client selector must be validated, not categorically forbidden; legitimate sharing and service roles need explicit policy. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

    V34 review, 6 November 2026: Read actual relevant current sections6November2026; the earlier opening-only/search disclosure remains historical. No fixed security ranking of separate database/schema/shared table is asserted.

  2. Market practice

    REL 3: How are you testing the multi-tenant capabilities of your SaaS application? ↗ — Amazon Web Services (AWS) Well-Architected SaaS Lens · Advises testing noisy-neighbour conditions and checking that limits tied to each tenant tier hold (search excerpt, page not opened)

    Cloud provider guidance to test noisy-neighbour conditions and to check that limits tied to each tenant tier hold. Vendor guidance for one cloud. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    Testing SaaS applications: the specific challenges of multi-tenant architecture (TestSprite) ↗ — TestSprite · Lists typical bugs: a query with no tenant filter, a cache key without the tenant, a background job that handles every tenant, and a record number never checked for ownership (search excerpt, page not opened)

    Vendor article listing typical tenant bugs: a query with no tenant filter, a cache key without the tenant, a background job that handles every tenant, and a record number never checked for ownership. Practitioner guidance. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Market practice

    How to test SaaS platforms for multi-tenant data isolation failures (Frugal Testing) ↗ — Frugal Testing · Says a test plan should first find which isolation model the platform uses (search excerpt, page not opened)

    Vendor article saying a test plan should first find which isolation model the platform uses. Practitioner guidance. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  5. Market practice

    Authorization cheat sheet (Open Worldwide Application Security Project cheat sheet series) ↗ — Open Worldwide Application Security Project · Actual introduction/least privilege/default deny/every-request and object checks: public resources and explicitly authorised sharing differ from permission bypass; read6November2026.

    Guidance page. Treats authorization as a separate question from authentication, and describes least privilege and deny by default. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  6. Market practice

    Broken Object Level Authorization, the first risk in the 2023 Open Worldwide Application Security Project API Security Top 10 ↗ — Open Worldwide Application Security Project (OWASP) · Actual API1:2023 action/object permission definition: knowing or guessing an ID and being authenticated are insufficient; read6November2026.

    API1:2023 Broken Object Level Authorization: permission for the requested action on the requested object. Identifier format, authentication and matching a session user ID alone do not establish that permission. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: 2023 edition. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

    V34 review, 6 November 2026: Read actual API1:2023 body6November2026: definition, examples and prevention. Use its authorisation term to resolve the GraphQL sheet typo; do not equate every access to another owner's intentionally shared object with a vulnerability.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.