Self-hosting your AI model doesn’t keep government data safe

Your AI reads your documents, databases and conversations. Anyone who can ask it can get that data back. Protecto controls what it reveals, and to whom.

SOC 2 Type II · ISO 27001 · Runs on-premises or air-gapped

Trusted by regulated enterprises & agentic platforms
Inovalon
Automation Anywhere
Citrix
Bank Of Muscat Logo
Dell
Case study result

Automation Anywhere protects AI data across its enterprise tenants

5,000+

Live enterprise tenants

Policy

Set by each tenant

Audit

Every reveal of a real value

Why self-hosted AI still exposes government data

A state agency runs an open model on its own servers and connects it to its document library. A contractor asks the assistant to summarize this quarter’s maintenance work. The answer lists the substations due for repair and where they are, taken from an internal planning memo the contractor was never meant to see. Nothing left the building. The model still gave the data to the wrong person.

Self-hosting decides where the model runs. It doesn’t decide what the model tells each user.

The model reads everything you connect.

Search indexes, shared drives, databases and email give the model far more access than any single employee has.

It answers whoever asks.

The model doesn’t know who’s on the other end. A contractor, an intern and a department head can get the same answer.

The firewall doesn’t see it.

Your perimeter controls watch data leaving the network. Here, the data reaches the wrong person without leaving it.

Government secrets go beyond personal data

Some information is sensitive because of what it means, not because it matches a pattern. Scanners built for PII miss it, because there’s no format to match.

State confidential

Leadership communications

A director’s email about budget cuts, briefing notes, draft statements.

National security

Critical infrastructure

Where substations, water plants and data centers sit, and when they’re under repair.

Commercial and policy

Procurement and policy plans

Contract shortlists, bid evaluations and policy decisions that aren’t public yet.

Personal data

Citizen records

Names, Social Security numbers, health and financial records.

Protecto reads the context around each passage to find the first three, using Context-Based Access Control (CBAC). Your own terms, such as facility names or project codes, can be added as custom entities in days.

Sensitive data spreads faster than you can trace it

Once your AI touches a document, copies of what it read end up in places you don’t review.

Protection has to happen before the AI sees the data. Finding and removing every copy afterward is slow and rarely complete.

Search and RAG.

Retrieved documents pull confidential details into the model’s context.

Agents.

Connected tools carry data between systems and tasks.

Memory.

Conversation history brings the same details back in later sessions.

Fine-tuning.

Training datasets can hold confidential information the model may later repeat.

Protect the data, wherever the model runs

Protecto sits between your data and every AI model, in-house or external. The model gets what it needs to answer, and nothing more.

01

Find sensitive data from context

Protecto’s agentic detection and classification engine finds personal data and, with CBAC, sensitive meaning in plain text, such as a leadership decision or a facility location.

02

Replace it with tokens before the AI sees it

Sensitive values become consistent tokens, such as <PERSON>VJYe 03W</PERSON>. The same value always gets the same token, so the model can still follow a case or a project across documents.

03

Restore it only for authorized users

Real values come back only for the people and tools your policy names. Everyone else sees masked values. Each release is logged.

04

Use the same control for every model

The same policy covers a model on your servers and an external model, so you can change models without redoing your data controls.

One checkpoint for every model you run

Data passes through Protecto before it reaches a model, a search index, a tool or agent memory. You add one control point instead of a fix per department.

Real timeProtects model input, retrieval, tool calls and agent memory as data moves, not just stored files.
Architecture: documents, databases, conversations and staff and agents inside your agency's environment pass data through Protecto. Protecto sends tokens to your in-house model, your search index and agent memory, and to external AI models outside your environment. Real values go back only to authorized staff by role, and every decision is logged.Your agency's environmentOutside your environmentYour dataDocumentsMemos, briefings, plansDatabasesCase, asset, financeConversationsEmail, chat, meetingsStaff and agentsQuestions, tool callsProtectoRuns under your control1DetectFrom context, plus PII2TokenizeSame value, same token3Apply policyReal values by role4LogEvery mask and releaseToken mappings and keys stay with youPolicy reportWhich AI received which data.How each policy was enforced.In-house modelTokensSearch index (RAG)TokensAgent memory, logsTokensAuthorized staffUnmask by roleTokens onlyExternal AI modelsAny providerGoogleOpenAIAnthropicSees tokens onlyAnswers come back with tokens.Protecto restores real values only forthe people your policy names.Substation 4<LOC>X9</LOC>Bid shortlist<LOC>X9</LOC>Substation 4<LOC>X9</LOC>Architecture: documents, databases, conversations and staff and agents inside your agency's environment pass data through Protecto. Protecto sends tokens to your in-house model, your search index and agent memory, and to external AI models outside your environment. Real values go back only to authorized staff by role, and every decision is logged.Your agency'senvironmentDocumentsDatabasesEmail, chatStaff, agentsProtecto1DetectFrom context, plus PII2TokenizeSame value, same token3Apply policyReal values by role4LogEvery mask and releaseIn-house modelTokensSearch indexTokensMemory, logsTokensAuthorized staffUnmask by rolePolicy reportWhich AI received which data,how each policy was enforced.Tokens onlyOutside your environmentExternal AI modelsGoogleOpenAIAnthropicSame policy as your in-house model.Answers come back with tokens.
Real valuesTokensAnswers coming back

On-premises · Private cloud · Air-gapped · SaaS. When Protecto runs in your environment, token mappings, keys and logs stay on your servers.

“Protecto enabled us to deliver data security, privacy, and compliance for our AI features at scale across 5,000+ enterprise clients, strengthening customer trust in our AI automation solutions.”

SS
Steve Shah
SVP Product, Automation Anywhere

Self-hosting alone vs self-hosting with Protecto

Running the model on your servers solves where the data goes. Protecto solves what the model shows each person.

What your review will askSelf-hosting aloneSelf-hosting with Protecto
Where the model runsYour serversYour servers, or an external model under the same policy
What the model readsThe real values in everything you connectTokens in place of sensitive values
Who gets real values backAnyone who asks the modelOnly the users and tools your policy names
Leadership, infrastructure and procurement contentMissed by scanners built for PIIFound from context with CBAC, plus custom entities
Citizen recordsDepends on the filters you build200+ entity types plus custom entities
Logs, memory and training dataHold real valuesHold tokens
Record for the reviewDepends on your loggingLogs of each mask and release, plus policy reports

Independent benchmark: UT Dallas and DataXpert measured a higher F1 for Protecto than for AWS Comprehend and Microsoft Presidio.

Citizen records stay protected too

Residents still share Social Security numbers, addresses and case details with your services. Protecto masks them before AI reads them, so staff assistants can still follow each case.

Permitting and planning

Names and addresses in permits, zoning requests and planning files.

CRM and 311

Resident details in service requests, complaints and case notes.

Agendas and council records

Personal details buried in meeting archives and ordinances.

Public records requests

Sensitive details while AI helps staff search and summarize. Your records officers still decide what’s released.

API features built for government IT teams

Protecto is API-first, so your team calls it from the AI applications and pipelines you already run.

Real-time calls for live use.

Synchronous calls mask data as users and agents work, without holding up the conversation.

Batch jobs for archives and datasets.

Asynchronous jobs process document archives and training datasets before you index or train on them.

Policies by department.

Each department sets its own masking policies. Your application passes each user’s role to Protecto.

Active Directory and Okta.

Through Privacy Gateway, each user’s access comes from their AD or Okta group.

Security & compliance

Built for regulated data at enterprise scale.

Protecto combines data protection, audit logs, and ready-to-use policies for regulated data, whether deployed as SaaS, on-prem, in a private cloud, or air-gapped.

SOC 2 Type II

Audited controls

ISO 27001

Certified ISMS

HIPAA

BAA available

GDPR

EU data ready

DPDP

India privacy law

CCPA / CPRA

US privacy
Independently verified to outperform AWS Comprehend and Microsoft Presidio · audit logs on every scan, mask, and unmask.

Go deeper on government AI data protection

Data Protection Architecture For Agentic Ai Whitepaper Cover
Whitepaper · 14 pages

Data Protection Architecture for Agentic AI

A reference architecture for where data controls sit in agentic AI, from prompts to tool calls.

Questions government IT and security teams ask first

We self-host our AI model. Why do we need Protecto?

Self-hosting keeps data on your servers, but the model still reads everything you connect and answers whoever asks. Protecto replaces sensitive values with tokens before the model sees them and restores real values only for authorized users.

Personal data such as names, Social Security numbers and health records, plus 200+ entity types in total. With CBAC, Protecto also finds sensitive meaning in plain text, such as leadership communications, infrastructure locations and procurement plans. Your own terms can be added as custom entities in days.

Yes. Protecto can run fully air-gapped, next to a model on your own servers. Token mappings, keys and logs stay inside your environment.

Yes. Protecto runs on-premises, in your private cloud, air-gapped or as SaaS. When it runs in your environment, token mappings, keys and logs stay on your servers.

Protecto is model agnostic. It works with open models you host, such as Llama or Mistral, and with external models such as GPT, Gemini or Claude, behind the same policy.

Only the people and tools your policy names. Each department can set its own policies, and your application passes each user’s role to Protecto. Everyone else sees masked values, and each release is logged.

Yes, through Privacy Gateway. You keep each user’s masking and unmasking access in AD or Okta groups, and Gateway issues a Protecto auth key with that access at login. If you use Protecto Vault directly, it’s a headless API, so your team can build the integration around it.

An independent UT Dallas and DataXpert benchmark found a higher F1 for Protecto than for AWS Comprehend and Microsoft Presidio. Bank Muscat measured 99% recall and 96% precision on its own data.

Detection is officially tested in seven languages: English, German, French, Spanish, Dutch, Arabic and Japanese. Other languages are available on request and tested on your data.

Consistent tokens keep who-is-who intact, so the model can still reason over documents and conversations.

Protecto protects sensitive data while AI reads and summarizes records. Decisions about what to release under public records laws stay with your records officers and counsel.

Usually, yes. Tokenization is pseudonymization, not anonymization: while a mapping exists, a token can be linked back to a person. Your counsel decides what that means for each AI use.

No. DLP keeps guarding email, endpoints and file transfers. Protecto covers where it falls short: AI traffic, context and unstructured data moving to models and agents.

No. Protecto holds SOC 2 Type II and ISO 27001 and is HIPAA compliant. Protecto can also run in your own environment, on-premises or air-gapped, so your team can assess it inside a boundary you already control.

See what your AI reveals

Bring one AI project you run in-house. We’ll show you what each user can get back today, and what Protecto would mask.

Cover of the PII/PHI identification benchmark study by UT Dallas and DataXpert
Benchmark study

PII/PHI detection, benchmarked by UT Dallas and DataXpert

A third-party study compares how accurately Protecto, Microsoft Presidio, and AWS Comprehend find personal and health data in unstructured text.

By submitting you agree to Protecto’s privacy policy.

Cover of the Protecto Privacy Vault datasheet
Datasheet

Protecto Vault: sensitive data protection for AI workflows

Features that safeguard your data across agents, AI applications, RAG pipelines, MCPs, data lakes, and enterprise systems.

By submitting you agree to Protecto’s privacy policy.

Data Protection Architecture for Agentic AI whitepaper cover
Technical whitepaper

Data Protection Architecture for Agentic AI

A reference architecture for protecting sensitive data across agent workflows, for architects and AI platform engineers.

By submitting you agree to Protecto’s privacy policy.

AI Data Leakage Audit Checklist cover
Checklist

AI Data Leakage Audit Checklist

24 yes or no questions across the six places sensitive data leaks in agentic AI, from model requests to tool calls and agent memory.

By submitting you agree to Protecto’s privacy policy.

The AI Data Security Readiness Gap report cover
Research report

The AI Data Security Readiness Gap

What current industry research shows about where AI data controls fall behind adoption, with a five-question readiness framework.

By submitting you agree to Protecto’s privacy policy.

New: Protecto now runs inside LiteLLM. Control what sensitive data your models and tools see.
Read the launch blog