~/talk

Securing RAG Pipelines with Fine Grained Authorization

Talkat PyCon DE & PyData 2025 · on Thursday, 2025-04-24· at 15:00· Palladium· [security, machine-learning]
slides:none on file

Shows a concrete ReBAC implementation using SpiceDB with Pinecone embeddings, OpenAI for the LLM and LangChain to orchestrate; demonstrates a pre-filter flow where a fake document (“Bill Gates won the 2025 Oscar for best football movie”) is upserted, Tim is granted viewer relation, the LLM returns that fact, the relation is deleted, and subsequent queries return nothing. Claims fine‑grained authorization, audit logging, and improved query latency; cites Zanzibar’s 10M QPS scale and notes pre vs post filtering tradeoffs depending on vector hit rate.

AI-written summary · about

  1. 0:00Securing RAG pipelines
  2. 1:57Authorization for RAG
  3. 5:47History of authorization models
  4. 8:58Relationship-based access control
  5. 12:55Fine-grained authorization for RAG
  6. 15:26Pre-filter vs post-filter
  7. 18:20Live demo: authorization in RAG
  8. 27:17Q&A: SpiceDB and scalability
~/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.