~/talk

Securing AI RAG Pipelines with Fine Grained Authorization

Talkat NDC Oslo 2025 · 2025-05-19..05-23· [security, ai-assisted-development]
slides:none on file

Explains a concrete ReBAC setup based on Google Zanzibar that uses SpiceDB to look up authorized document IDs and then pre-filter a Pinecone vector search before calling an LLM, claiming Zanzibar-scale throughput of 10 million queries per second. Demo code uses Pinecone+LangChain+OpenAI, creates two articles, upserts embeddings with document metadata, shows a lookup returning authorized IDs, then deletes the relationship and repeats the query so the LLM no longer returns the removed document. This proves fine-grained authorization works and is practical at small scale.

AI-written summary · about

  1. 0:00Securing AI RAG pipelines
  2. 1:56Google Plus to Zanzibar auth
  3. 4:42Evolution of auth systems
  4. 8:33Zanzibar relationship-based access
  5. 12:03Open source Zanzibar impls
  6. 17:03RAG pipelines intro
  7. 21:00LLM app security risks
  8. 22:29RAG pipeline components
  9. 25:02Fine-grained auth for RAG
  10. 29:58Live demo setup
  11. 31:23SpiceDB relationships
  12. 33:07Pre-filtering authorized resources
  13. 34:31Auth integration with RAG
  14. 35:35Permission revocation demo
  15. 37:20Production architecture benefits
  16. 39:50Summary and next steps
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.