Search Tutorials
--Ads--Security, Safety and Governance
Protect RAG systems from injection, data leaks and stale or untraceable answers.
- 1RAG Security Risks and Threat ModelA threat model for RAG systems: data leakage, injection, poisoning, abuse and supply-chain risks.
- 2Prompt Injection through Retrieved DocumentsHow indirect prompt injection works in RAG and the layered defences against it.
- 3Access Control and Document-Level PermissionsMake sure users can only retrieve the documents they are allowed to see.
- 4RBAC, ABAC and Row-Level Security for RAGRole-based, attribute-based and row-level access control for retrieval, with PostgreSQL examples.
- 5PII Detection and RedactionFind and mask personal data before indexing and before answering.
- 6Input and Output GuardrailsValidate questions and answers with rules, classifiers and LLM checks.
- 7Data Freshness, Versioning and Audit TrailsKnow which version of which document produced every answer.