{"id":283710,"date":"2026-06-29T13:39:00","date_gmt":"2026-06-29T17:39:00","guid":{"rendered":"https:\/\/news-you-need.com\/index.php\/2026\/06\/29\/multi-tenant-llm-analytics-with-row-level-security-how-we-built-a-secure-agent-on-aws\/"},"modified":"2026-06-29T14:20:07","modified_gmt":"2026-06-29T18:20:07","slug":"multi-tenant-llm-analytics-with-row-level-security-how-we-built-a-secure-agent-on-aws","status":"publish","type":"post","link":"https:\/\/news-you-need.com\/index.php\/2026\/06\/29\/multi-tenant-llm-analytics-with-row-level-security-how-we-built-a-secure-agent-on-aws\/","title":{"rendered":"Multi-tenant LLM analytics with row-level security: How we built a secure agent on AWS"},"content":{"rendered":"<p><a href=\"https:\/\/aws.amazon.com\/blogs\/machine-learning\/multi-tenant-llm-analytics-with-row-level-security-how-we-built-a-secure-agent-on-aws\/\">Multi-tenant LLM analytics with row-level security: How we built a secure agent on AWS<\/a><\/p>\n<p><a href=\"https:\/\/aws.amazon.com\/blogs\/machine-learning\/multi-tenant-llm-analytics-with-row-level-security-how-we-built-a-secure-agent-on-aws\/\">https:\/\/aws.amazon.com\/blogs\/machine-learning\/multi-tenant-llm-analytics-with-row-level-security-how-we-built-a-secure-agent-on-aws\/<\/a><\/p>\n<p>Publish Date: <a href=\"publish_date]\">2026-06-29 13:39:00<\/a><\/p>\n<p>Source Domain: <a href=\"aws.amazon.com\">aws.amazon.com<\/a><\/p>\n<p>At PAR Technology Corporation, we build technology for the restaurant industry, supporting over 300 restaurant businesses, from independent operators to large, multi-brand franchise groups. Across this diverse customer base, we help organizations make better decisions by unlocking the value of their data.<\/p>\n<p>When we set out to build a natural language text-to-SQL agent for self-serve analytics, the objective was clear: enable business users, regardless of technical background, to ask a business question in plain English and receive a reliable, data-backed answer in seconds. However, delivering on that promise required solving a more complex challenge beneath the surface.<\/p>\n<p>In this post, we show you how PAR built a production-ready multi-tenant LLM analytics system that enforces row-level security through a three-layer architecture: cryptographic request signing with AWS SigV4, semantic validation on Amazon Bedrock, and programmatic data isolation via Split-Plane SQL.<\/p>\n<p>We demonstrate how each layer operates independently to reduce the risk of cross-tenant data exposure, even when the LLM itself is compromised or manipulated.<\/p>\n<p>The core problem sits at the intersection of data access, correctness, and security at scale. Our system must simultaneously support thousands of users, each tied to different businesses, datasets, and permission boundaries. Every query generated by the agent must not only be accurate, but also strictly scoped to the data that user is authorized to access. In other words, the challenge isn\u2019t only generating SQL. It\u2019s generating the right SQL, for the right user, against the right slice of data, every single time.<\/p>\n<h3 id=\"the-data-boundary-problem\">The data boundary problem<\/h3>\n<p>Consider two users who open our analytics agent on the same morning and ask the exact same question: \u201cWhat were total sales last week?\u201d<\/p>\n<p>The first user is a franchise owner. They operate two locations in Chicago. The correct answer for them is&#8230;<\/p>\n<p><a href=\"https:\/\/aws.amazon.com\/blogs\/machine-learning\/multi-tenant-llm-analytics-with-row-level-security-how-we-built-a-secure-agent-on-aws\/\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Multi-tenant LLM analytics with row-level security: How we built a secure agent on AWS https:\/\/aws.amazon.com\/blogs\/machine-learning\/multi-tenant-llm-analytics-with-row-level-security-how-we-built-a-secure-agent-on-aws\/&#8230;<\/p>\n","protected":false},"author":1,"featured_media":283711,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/d2908q01vomqb2.cloudfront.net\/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59\/2026\/06\/25\/19651.png","fifu_image_alt":"","footnotes":""},"categories":[14],"tags":[17,57],"class_list":["post-283710","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-artificial-intelligence","tag-llm","tag-security"],"_links":{"self":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/283710"}],"collection":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/comments?post=283710"}],"version-history":[{"count":1,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/283710\/revisions"}],"predecessor-version":[{"id":283712,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/283710\/revisions\/283712"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media\/283711"}],"wp:attachment":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media?parent=283710"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/categories?post=283710"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/tags?post=283710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}