~/talk

Securing RAG Pipelines with Fine Grained Authorization

Talkat Voxxed Days Ticino 2026 · 2026-02-05..02-06· [security, large-language-models]
slides:none on file

Explains why relationship-based access control (ReBAC) like Google Zanzibar must guard RAG pipelines and shows two concrete enforcement patterns: pre-filter authorization (lookup user’s allowed doc IDs from SpiceDB then query Pinecone) and post-filter authorization (retrieve nearest embeddings from Pinecone then check each doc against SpiceDB). Demo uses Langchain and OpenAI on two docs (IDs 123 and 456), proves removing Tim’s viewer relation hides the “50 paid holidays” answer, and cites Zanzibar’s 10M qps claim and SpiceDB’s 6,200 GitHub stars.

AI-written summary · about

  1. 0:00Introduction
  2. 2:24Authentication vs authorization
  3. 4:14Relationship-based access control
  4. 5:17Google Zanzibar relationships
  5. 8:08Graph traversal for permissions
  6. 10:34Scaling Zanzibar at Google
  7. 11:57Zanzibar for RAG pipelines
  8. 12:41What is RAG
  9. 13:42LLM security risks
  10. 14:45RAG pipeline architecture
  11. 16:30Open-source Zanzibar tools
  12. 17:36What is SpiceDB and its use cases
  13. 19:01Post-filter authorization
  14. 20:28Pre-filter authorization
  15. 21:53Pre vs post filters
  16. 22:36Demo setup and schema
  17. 25:05Demo pre-filter execution
  18. 27:17Demo results
  19. 28:21Updating demo permissions
  20. 29:23Demo post-filter execution
  21. 31:10Production use cases
  22. 32:59Zanzibar benefits
  23. 33:42Zanzibar for AI agents
  24. 34:04Resources
  25. 34:48Q&A
  26. 35:11Q&A agents authorization
  27. 37:58Q&A hallucinations failures
  28. 39:23Q&A prompt engineering
  29. 40:48Q&A vector scalability
  30. 42:56Q&A SpiceDB naming
  31. 43:17Q&A Kubernetes
~/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.