~/talk

Securing the Future of AI: Authorization Strategies for RAG Systems with LangChain4J and OpenFGA

Talkat Voxxed Days Amsterdam 2025 · on Thursday, 2025-04-03· [security, ai-assisted-development]
links:none on file
slides:none on file

Claims that fine‑grained authorization stops sensitive RAG leaks by filtering retrieval results before they hit the LLM, demonstrated with a Java Spring Boot demo using LangChain4J and OpenFGA. Implementation uses an in‑memory vector store with two documents (public vs private), a custom FGA retriever that builds per‑document checks and issues a batch check to OpenFGA, and an OpenAI model; unauthorized queries drop the private doc, authorized users receive the financial data, showing the approach works end‑to‑end.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:53Top 10 LLM security issues
  3. 6:07Sensitive data disclosure risks
  4. 8:13Authorization challenges for RAG
  5. 11:02Fine-grained authorization with FGA
  6. 12:28OpenFGA overview and setup
  7. 16:23Demo architecture with LangChain4J
  8. 19:53OpenFGA model initialization
  9. 23:08Document loading and embedding
  10. 25:17FGA retriever implementation
  11. 30:12AI service and query execution
  12. 34:24OpenFGA dashboard walkthrough
  13. 35:29Live demo results and access control
  14. 36:55Real-world implementation tips
  15. 39:21Performance considerations
  16. 40:23Q&A and closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.