AI data security is the practice of controlling which AI tools and agents can read, ingest, and move your sensitive files, and proving what they did with them. It matters now because adoption has outrun control. 45% of employees regularly use AI tools on corporate devices, and two-thirds of them do it through personal, unmanaged accounts. IBM's data shows one in five data compromises now involves unauthorized shadow AI, adding an average of $670,000 to the cost of a breach.

Perimeter tools cannot see this traffic. A connected assistant reads files through permissions it already holds, an upload is an encrypted HTTPS session, and an agent works through API calls. The control that holds is the file itself, protected by what it contains, who is asking, and which AI tool is asking.

This guide covers what is entering AI systems, the three risks that follow, and a discover, protect, and govern model for securing it. For the specific case of employees uploading files to ChatGPT, Copilot, and Gemini, see How to Stop Sensitive Files Entering ChatGPT, Copilot, and Gemini.

How Is AI Data Security Different From AI Security?

AI security protects the models and the pipelines around them: prompt injection, model theft, poisoned training data, and posture management for AI systems. AI data security protects what those systems can reach. The first is a question about the AI. The second is a question about the files: which are sensitive, who and what can read them, and what record exists afterward. A well-secured model connected to an over-permissioned SharePoint site still exposes the files.

What Kinds of Sensitive Files Are Entering AI Systems Right Now?

The files employees connect to AI tools are not random. They are the most immediately useful data: documents people work with every day that AI can help them process, summarize, draft from, or search across.

That means contracts, financial models, personnel records, engineering specs, client communications, internal strategy documents, and compliance documentation. For defense contractors, that often includes CUI under CMMC or ITAR, with regulatory obligations attached to every access event.

The ingest happens through several channels:

Native integrations: AI platforms like Microsoft Copilot, Google Gemini for Workspace, and Notion AI connect directly to cloud storage. When a user enables Copilot for M365, it can access every file the user has access to — SharePoint, OneDrive, Teams — by default. The scope of that access is often much wider than users assume.

Shadow AI connections: Employees manually upload files to ChatGPT, Claude, Gemini, and other AI tools. Consumer-grade AI tools typically use submitted content to improve their models unless enterprise tiers with data retention opt-outs are purchased. Most employees don't know the difference.

RAG pipelines: Organizations building internal AI tools ingest files into retrieval-augmented generation (RAG) systems — databases that AI queries when answering employee questions. The security of those pipelines varies widely.

Every one of these channels creates a new copy of your sensitive files in an environment your existing security controls may not reach.

What Are the Security Risks When Sensitive Files Enter AI Pipelines?

The risks break down into three distinct categories, and most organizations are only thinking about the first one.

Data exposure through AI outputs: An AI assistant trained on sensitive internal data can surface that information in unexpected ways. An employee asks a general question; the AI answers using content from a confidential document they didn't know existed. Or worse: the AI is accessible to a broader group than the original document — someone with Copilot access asking a question gets an answer synthesized from files they would never have been granted direct access to.

This is the AI equivalent of an access control misconfiguration — but at the semantic layer, not the permission layer.

Uncontrolled data copies: Every file ingested into an AI system is a copy of that file in a new location. If that location is outside your organization's controlled environment, the copy may not carry your security controls with it. Files with sensitivity labels in M365 may lose those labels when ingested by a third-party AI platform. Encrypted files may be decrypted as part of the ingest process. The original file looks protected, but the copy powering the AI's responses is not.

Audit trail gaps: When a sensitive file is accessed by a human employee, the event is usually logged. But when a file is scraped or fed into an enterprise AI pipeline, that ingestion event often happens completely in the dark. It rarely generates a log that captures exactly what data was consumed, when, or under what authorization. For defense contractors aiming for CMMC Level 2, where AU.L2-3.3.1 demands strict audit trails covering all CUI system activity, these silent AI ingest events represent a massive, unmapped compliance blind spot.

💡
How Theodosian approaches it: Labels applied during discovery drive policy. AI egress rules then block a file from reaching an AI tool, limit it to approved tools and groups, or allow it with sensitive fields redacted. Per-file encryption protects the files where that is not enough on its own.

Which AI Tools and Agents Can Reach Your Sensitive Files Today?

Theodosian discovers and classifies your files, then shows who and which AI agents can reach what.

See It in 30 Minutes

How Does Shadow AI Create File Security Gaps Organizations Can't See?

Shadow AI is the employee-driven adoption of AI tools that IT doesn't know about, can't monitor, and hasn't approved. It's another version of the shadow IT problem, except the files being exposed are often higher-value and the exposure is harder to detect.

The typical shadow AI workflow: an employee uploads a contract, a financial model, or a presentation to ChatGPT to get a summary or ask questions. The file leaves the organization's controlled environment. If the account is on a free or personal tier, the file may be used for model training. The employee doesn't know that, and the security team doesn't know the upload happened.

For organizations under CMMC or ITAR, this creates a specific compliance problem. CUI uploaded to a non-approved platform is a potential ITAR violation and a CMMC scope expansion event — the platform the file landed on is now in scope. Neither of those consequences requires a malicious actor. They happen through normal, well-intentioned employee behavior.

DLP tools can block uploads to certain platforms. But DLP operates at the transmission layer — it can stop a file from being uploaded if IT has blocked the destination. It cannot protect the file once it has left the environment, and it cannot prevent access through native AI integrations that operate inside the approved environment.

How Do You Secure Files That AI Tools and Agents Can Reach?

Blocking AI adoption outright creates the shadow AI problem it is meant to prevent. The workable approach has three steps, and each depends on the one before it.

Discover and classify: You cannot protect exposure you have not mapped. Continuous discovery across SharePoint, Google Drive, Box, and other repositories, with agentic classification into categories such as PII, PCI, PHI, ITAR, and trade secrets, shows which files are sensitive and which people and AI agents can reach them. Because Copilot inherits the permissions of the user who connected it, this step also exposes over-provisioned access before an AI tool inherits it. See Best Sensitive Data Discovery Tools in 2026 and Data Classification Levels.

Protect and control: Classification labels drive policy. AI egress rules then decide what happens when a file is headed to an AI tool: block it, limit it to approved tools and groups, or allow it with sensitive fields redacted. For crown-jewel files, per-file FIPS 140-3 validated encryption with more than 20 contextual controls keeps the file protected wherever it travels, including inside an AI pipeline. Treat each AI system or agent as its own principal with its own boundaries, rather than letting it inherit the permissions of the person who connected it.

Govern and audit: Every file action is recorded, and the log can be exported with cryptographic verification that it has not been altered. An AI system reading a file is an access event like any other, so it belongs in the same audit trail. Audit Logs for File Access covers what auditors expect that log to contain.

What Happens When an AI System Requests a Protected File?

Each protected file carries FIPS 140-3 validated AES-256 encryption with a unique key per file. When any principal, human or AI, requests the file, context-aware controls evaluate the request in real time: the identity making it, the environment it comes from, and the behavior around it. The decision happens at the file, not at the platform, so it applies in SharePoint, OneDrive, Google Drive, a NAS share, or an internal AI tool.

For Microsoft Copilot, that creates a useful distinction. Copilot can still reach files the user has permission to open. For files where policy conditions are not met, such as an unusual access volume, an anomalous context, or a classification that requires step-up verification, access is denied and logged. A bulk ingest of controlled files at 3 a.m. can be flagged by Guardian anomaly alerts, and Drop the Gate can freeze access automatically.

This is not about blocking AI. AI access to sensitive files follows the same policy logic as human access, and the audit log records both. Theodosian records every file action, which supports the identity, file, device, timestamp, origin, and policy outcome detail that AU.L2-3.3.1 asks for in CMMC Level 2.

💡
More on how file-level protection connects to CMMC compliance in How to Build a CMMC Audit Trail.

Which Organizations Face the Most Exposure from AI-Connected File Access?

Any organization where AI adoption is outpacing security policy review. In practice, that covers most organizations in 2026.

The exposure is highest in three scenarios:

Organizations deploying Microsoft Copilot without reviewing access scope: Copilot's access maps to the user's existing permissions. If those permissions are over-provisioned — which they commonly are in M365 environments — Copilot can surface information the user would never have gone looking for manually. Sensitive files that haven't been accessed in years become part of Copilot's working knowledge.

Organizations building internal RAG-based AI tools: Engineering and IT teams are increasingly building internal AI tools that ingest company documentation. The security review for those ingestion pipelines is often less rigorous than the review for the files themselves.

Defense contractors adopting AI tooling: CMMC Level 2 was not designed with AI ingest events in mind. The AU domain requirements for CUI audit logging apply regardless of whether access was by a human or a machine. Any AI system that can access CUI creates a new set of access events that need to appear in the audit trail.

Don't Turn Off Your AI Tools Just to Stay Compliant

Banning AI outright drives it underground. Run a two-week proof of concept on a defined file set and see which AI tools and agents can reach your files, and which egress rule would apply to each.

Prove It in Two Weeks

FAQs: Protect Your Files In AI Systems

Does Microsoft Copilot have access to all my files?

By default, Copilot for M365 can access files within the scope of a user's existing permissions in SharePoint, OneDrive, and Teams. This includes files the user has never directly opened but has permission to access. If your M365 permissions are over-provisioned — which is common in environments without regular access reviews — Copilot's effective scope can be significantly broader than intended. Microsoft provides Copilot access controls that administrators can use to limit scope, but these require deliberate configuration.

Can DLP tools prevent sensitive files from being uploaded to AI platforms?

DLP tools can block file uploads to specific platforms if those destinations are defined in your DLP policy. This works reasonably well for consumer AI platforms where the upload URL is consistent and known. It does not prevent access through native integrations — Microsoft Copilot accesses SharePoint directly, within the M365 environment, in a way that endpoint DLP cannot observe or block. For AI platforms that operate inside your approved environment, DLP provides no protection.

What happens to files uploaded to ChatGPT or similar consumer AI tools?

On free and standard consumer tiers, file content submitted to AI tools may be used to train or improve the model, depending on the platform's data retention settings at the time of submission. Enterprise tiers with data processing agreements typically provide stronger protections and opt-out provisions. Most employees using consumer AI tools are unaware of this distinction. For organizations handling regulated data, any file submitted to an unapproved AI platform is a potential compliance event regardless of the outcome.

Is AI data security a CMMC compliance requirement?

CMMC Level 2 does not have AI-specific controls, but the existing controls apply to AI access events. AU.L2-3.3.1 requires audit logging of CUI access regardless of how that access occurs. SC.L2-3.13.11 requires FIPS-validated encryption for CUI wherever it lives — including in AI pipeline environments. If a CUI file is ingested by an AI system, that ingest event is a CUI access event that belongs in your audit trail, and the file's encryption state at the point of ingest is relevant to your SC.L2-3.13.11 compliance posture.

Does AI data security replace DSPM or DLP?

It covers the same discovery step, then enforces. Labels drive AI egress rules and per-file encryption, and the audit log records every action. Theodosian works alongside existing tooling, so a team with DSPM or DLP in place can run a proof of concept next to it and compare what each one sees.

How do I show an auditor what AI tools did with a file?

Every file action is recorded, and the log can be exported with cryptographic verification that it has not been altered. That gives an assessor the access trail for CMMC, NIST 800-171, HIPAA, or DORA evidence, instead of screenshots from a URL filter. Theodosian implements many of the controls those frameworks list.

Does an AI agent need its own access policy?

Yes. An agent authenticates as a non-human identity and should not inherit the permissions of the person who set it up. Discovery shows which agents can reach which files today, and rules that limit AI use to approved tools and groups define what each one is allowed to do.

How to Stop Sensitive Files Entering ChatGPT, Copilot, and Gemini

How to Build an AI Governance Framework

Agentic AI Security: The Agentic AI Governance Gap

What Does AI Data Governance Require at the File Layer

Shadow AI Data Governance