New: Cookbooks and AI ExplanationsStep-by-Step recipes to solve problems connected to Roadmaps and Cheat Sheets. Need more details? Use AI buttons for structured and simple explanations with concrete examples throughout the whole platform.Take a look
Two customers share one vector index, and nothing stops a query from one account pulling back the other's private files.
What you'll have at the end
A query run as one tenant that returns zero of another tenant's chunks, checked against the raw index.
You need
You have an application that already queries one shared vector index or collection holding chunks from more than one tenant, and every stored chunk already carries the id of the tenant that owns it.
Not covered
Encrypting the vectors themselves, or defending against an attacker using another tenant's genuinely stolen credentials, are both separate problems: this covers only making an ordinary, correctly authenticated query stay inside its own tenant's data.
Leans on
Checked 15 Aug 2026
Part of the LLM Security & Safety cookbook