Data Protection - Barndoor AI | Secure Access and Governance for AI and MCP

Data protection

One policy engine enabling enterprises to inspect, transform, or block sensitive data at every prompt, tool call, tool response, and answer.

Works with both Barndoor LLM Gateway and MCP Governance

You set the policies. Barndoor enforces them.

Prevent PII leaks, social engineering attempts, prompt injections, data exfiltration, and more.

LLM Gateway

LLM prompt

WHAT GETS CAUGHT

PII, credentials, API keys, sensitive data, and more

LLM response

WHAT GETS CAUGHT

Generated PII, policy violations, sensitive data in outputs, and more

MCP Governance

MCP tool input

WHAT GETS CAUGHT

Confidential data exfiltration, indirect prompt injection, malicious instructions, and more

MCP tool output

WHAT GETS CAUGHT

PII, confidential files, data exfiltration to third-party servers, and more

Enforce data protection across every prompt, tool call, and response

METHODOLOGY

How it works

Detects

Pattern-based

regex

Built-in classifiers for well-formed values used to match character combinations in strings.

Model-based

transformer

Natural language classifiers that read surrounding context. Same mechanism powers prompt detection.

Custom

user-defined

Your own patterns or example-based for formats specific to your business. Configured in the policy editor.

Key capabilities

PII, secrets, injections under one policy

Detection groups bundle SSNs, cloud keys, API tokens, DB credentials, and prompt injection patterns into a single reusable rule you attach to any enforcement policy.

Enforce data policies across any LLM or MCP server

Data protection designed for agents, connected MCP, and any model.

Apply data policy by person, groups, and roles

Scope enforcement to specific groups and roles based on your identity provider.

Enterprise data protection across LLMs and MCPs

CAPABILITY

LLM Gateway

Detection & Redaction

Who Policies Apply To

Solution Scope

MCP Governance

Detection & Redaction

Who Policies Apply To

Solution Scope

Detection & Redaction

Inspect prompts, responses, and tool I/O for sensitive content.

WHO POLICIES APPLY TO

Identity-aware scoping powered by your IdP.

SOLUTION SCOPE

Where each policy can target

Built for enterprise environments

Deploy Barndoor where you need it—with the architecture and controls your organization requires.

SaaS

Fully managed deployment for fast setup and ongoing updates.

Private Cloud

Deployed in your cloud environment to meet security and compliance requirements.

On-Prem

Run entirely within your infrastructure for maximum control and data residency.

Frequently asked questions

AI agents can leak sensitive data through MCP when they pass context they’ve already retrieved, including customer records, internal documents, account numbers, etc.

Indirect prompt injection is when malicious instructions are embedded inside content an agent retrieves, which the agent then follows. Barndoor MCP Governance runs a transformer-based classifier on every tool output before that content reaches the model.

No, an LLM gateway governs what goes to the model and comes back, while MCP tool calls are a separate traffic surface. Barndoor MCP Governance covers the tool surfaces.

Barndoor data protection offers several transformation options for MCP tool traffic, including blocking, redacting, masking, and tokenizing.