~/talk

How to Prevent AI Agents from Accessing Unauthorized Data

slides:none on file

Explains how Google Zanzibar’s relationship-based model (claimed >10 million queries/sec) and its caching/hotspot batching map to AI RAG pipelines and agent security, using Google Zanzibar concepts implemented with SpiceDB plus a local demo that queries a Pinecone vector index and OpenAI LLM. Compares post-filter (check permission per result) vs pre-filtration (lookup allowed docs first) and shows writing/deleting relation tuples immediately grants or revokes agent access, proving the pattern works end to end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14Google Circles authorization
  3. 3:01Authentication vs authorization
  4. 4:07Relationship-based access control
  5. 7:14Zanzibar and Google Docs
  6. 9:02Scaling with aggressive caching
  7. 11:07Open-source Zanzibar alternatives
  8. 12:33SpiceDB deep dive
  9. 15:45AI agents in 2025
  10. 17:09OWASP LLM security risks
  11. 18:13RAG pipeline overview
  12. 19:38Post-filter vs pre-filter auth
  13. 22:29Demo setup and SpiceDB init
  14. 23:10Schema and relationships in SpiceDB
  15. 24:37Querying docs with AI agents
  16. 25:41Generating summaries
  17. 26:23Dynamic permission changes
  18. 27:27Logging and side effects
  19. 28:09Unanswered questions
  20. 28:51Conclusion
~/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.