Home icon

Multi-tenant LLM analytics with row-level security: How we built a secure agent on AWS

Machine Learning Blog



This article describes how PAR Technology built a production-ready multi-tenant LLM analytics system that enforces row-level security through three independent security layers.

  • Layer 1: Cryptographic request signing with AWS SigV4 verifies user identity before any processing occurs
  • Layer 2: Semantic validation via Amazon Bedrock reasoning engine validates questions against supported metrics before data access
  • Layer 3: Split-Plane SQL architecture programmatically generates pre-filtered data sandboxes scoped to each user's authorized data
  • LLM operates only on pre-filtered schemas, preventing access to unauthorized data even if compromised or manipulated
  • System processes 50,000+ queries with zero cross-tenant data exposure incidents in production
  • Each layer operates independently; data boundaries enforced deterministically at architecture level, not reliant on LLM compliance

The three-layer approach ensures multi-tenant analytics systems maintain security boundaries deterministically while enabling business users to query data in natural language.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Jun 2
2026
Secure multi-tenant AI agents with Amazon Bedrock AgentCore resource-based policies
Jul 9
2026
Building secure AI agents at scale: Introducing Loom for AWS
Jul 10
2026
Secure code execution for AI agents with AWS Lambda MicroVMs
Jun 22
2026
Secure multi-tenant RAG with Amazon Bedrock and Verified Permissions

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.