BlogUpdated

ChatGPT, Claude and confidential documents: how to use them without exposing your data

ChatGPT, Claude and confidential documents: how to use them without exposing your data

Can you use ChatGPT, Claude, Gemini or Copilot with confidential documents? The short answer: yes, under certain conditions. The useful answer: it depends on what the document contains when it leaves your computer, which plan you use, and the contract that binds you to the vendor.

The need is real: summarizing a contract, translating a letter, pulling the key points out of a report, rewording a memo. And plenty of people already send sensitive files to these models: lawyers and in-house counsel, consultants and M&A teams, HR, finance and compliance, executive teams.

This guide covers the concrete risks, what enterprise plans change, the stakes of the cloud and extraterritorial laws, the possible architectures, the clauses to require, and the most direct method: pseudonymizing the document before sending it.

The golden rule: the AI doesn't need to know who the people are to analyze a document. Remove the identities before sending, keep the mapping table on your side, and restore at the end.

Key takeaways

PointDetails
You remain responsibleHanding a document to an AI vendor does not transfer your GDPR responsibility.
Enterprise plans help, but don't solve everythingThey improve contractual safeguards, not the data minimization principle.
Hosting location is not enoughA company subject to US law can be compelled to hand over data, even data stored in Europe.
The contract mattersNo training, deletion, subprocessors, incident notification.
Pseudonymizing before sending is the most direct measureThe document stays usable and the identities never leave.

Table of contents

The concrete risk

When you upload or paste a document into an AI assistant, you may expose much more than it seems. First, personal data: about your employees, clients, job candidates or opposing parties. Then trade secrets (strategy, pricing, commercial terms, projects) and contractual commitments, such as a nondisclosure agreement that forbids you from sharing certain information. For lawyers, accountants and healthcare professionals, add professional secrecy. To do it without copy and paste, the Safe-Doc Chrome extension pseudonymizes right in ChatGPT and Claude.

Depending on the tool and the plan, the content you send may be kept for some time, reviewed for moderation, or used to improve the models. Vendor policies keep changing (training opt-outs, enterprise plans), but under the GDPR your organization remains the controller responsible for the processing.

Handing data to a service provider does not transfer responsibility. The data controller must still be able to justify the legal basis, data minimization, security and, where required, an impact assessment.

What enterprise plans change

Enterprise plans from AI vendors improve the safeguards on the vendor's side: generally no training on your data, defined retention periods, a data processing agreement, access controls and an admin console.

That is real progress, but it doesn't solve everything. Data minimization is still your obligation: sending names, addresses and numbers the analysis doesn't need still goes against the GDPR principle. Professional secrecy is not lifted by a contract with a vendor either.

These safeguards also don't cover use outside the enterprise plan: personal accounts, browser extensions, mobile apps. And the vendor remains subject to the law of its own country, including requests from foreign authorities. To frame these uses rather than ban them, see our guide on Shadow AI.

Pro tip: An enterprise plan and pseudonymization are not alternatives; they work together. The first governs the vendor, the second ensures the vendor never receives what it doesn't need.

The cloud, the CLOUD Act and data sovereignty

The 2018 US CLOUD Act allows US authorities to require a provider subject to US law to hand over data it controls, including data hosted outside the United States. A GDPR-compliant data processing agreement does not cancel that risk, which is why European clients ask about it.

Three levers reduce the risk. The first is encryption with keys you control: if the provider doesn't hold the keys, it cannot hand over readable data. The second is sovereign hosting: offers certified under SecNumCloud, the French cybersecurity agency's cloud standard, reduce exposure to extraterritorial laws. The third is pseudonymization before sending: even if the data is disclosed, it identifies no one without the table that stayed with you.

Before signing with a provider, check three things: where the servers are, where the parent company is incorporated, and who holds the encryption keys. Together, they determine your real exposure.

France's cybersecurity agency (ANSSI) and data protection authority (CNIL) both advise against using consumer AI tools for sensitive internal data. ANSSI has published security recommendations for generative AI systems.

Pseudonymizing before sending: the method

Pseudonymization replaces names, numbers, addresses and other identifiers with neutral, consistent aliases. The AI can analyze, summarize, compare and rewrite the document without knowing who it is about.

It comes down to a few steps. You upload the document (text PDF, Word file or pasted text), and the tool detects and replaces the sensitive data: names, contact details, ID numbers, IBANs, contract references. You review what will be masked and adjust if needed.

The cleaned version then goes to the AI tool of your choice. When the answer comes back, the real data is restored locally, using the mapping table.

What pseudonymization does not do on its own

Pseudonymization does not replace a proper contract with the vendor, and it doesn't excuse you from checking the AI's answers. It also doesn't protect non-personal trade secrets, such as a price or a strategy, unless those are masked too: deciding what must be masked is up to you. And it has to handle context: a place, a date and a profession can be enough to recognize someone.

Pro tip: Keep the mapping table under your exclusive control, encrypted, and log every access. The table, not the algorithm, is what makes the setup solid.

Possible architectures

ArchitectureControl over dataUse case
Model deployed in-houseMaximumHighly sensitive data, healthcare, defense
Certified sovereign cloudHighOrganizations with strict requirements
Enterprise plan + controlled encryption + pseudonymizationGoodEveryday productivity with stronger controls
Consumer plan with no controlsLowAvoid for any sensitive document

The recommended flow for an external service: extract the document, pseudonymize it on the device or in a local gateway, send the minimum to the AI tool, restore locally, and log every exchange.

For assistants that query an internal document base (retrieval-augmented generation), host the vector database in the EU and pseudonymize document fragments before they are injected into prompts.

Put the pseudonymization step in a local gateway that processes the document before any exchange with an external API, and log every transaction. You get both the protection and the evidence.

Risks specific to AI

A cybersecurity specialist reviews confidential files

Beyond the usual cloud risks, AI brings threats of its own. The most direct is exfiltration through answers: a poorly configured model can return fragments of confidential documents to other users. More technical, membership inference means determining whether a specific document was used to train a model, and model inversion means reconstructing training data by querying the model in a targeted way.

Two further threats target the assistant's behavior: prompt injection, when a booby-trapped document contains hidden instructions that hijack it, and data poisoning, when corrupted data is introduced to skew its answers.

The countermeasures: minimize what you send, pseudonymize, filter the answers, and regularly test the system's limits.

Clauses to require from an AI vendor

The foundation is a data processing agreement under GDPR Article 28 that prohibits using your data to train models, prompts and answers included. Retention should be zero or minimal, with a certificate of deletion, and incidents must be reported quickly, ideally within 24 hours, so you can meet your own 72-hour deadline with the data protection authority.

The contract also lists subprocessors and where they are located, and gives you access logs and audit rights. As evidence, require verifiable certifications (ISO 27001 covering the actual service, SecNumCloud for the most sensitive data, HDS, the French certification for hosting health data) and recent penetration test reports from an independent third party.

A simple nondisclosure agreement is not enough: it creates neither the GDPR obligations nor the technical safeguards.

Obligations to document

ObligationBasisIn practice
Records of processingGDPR Article 30Each AI use: purpose, data, recipients, retention
Security appropriate to the riskArticle 32Encryption, strong authentication, logging, incident management
Impact assessmentArticle 35High-risk processing: large volumes, sensitive data, automated decisions
Breach notificationArticle 33To the authority within 72 hours if there is a risk to individuals
Transfers outside the EUArticles 44 to 49Adequacy decision, standard contractual clauses, or no transfer

The CNIL has published recommendations on developing AI systems, which explain in particular when an impact assessment is required.

Who should care most

A lawyer reviews files at his desk

For lawyers and in-house counsel, the issue is professional secrecy, with court filings and contracts: see Lawyers: using ChatGPT and Claude without breaching professional secrecy. Consultants and M&A teams handle data rooms, due diligence reports and financial models: see Data rooms and the GDPR.

Hands holding a tablet in a meeting room

HR teams deal with employment contracts, interviews and performance reviews: see Employee file pseudonymization. Finance and compliance teams work on audits, vendor files and incidents: see Pseudonymizing before an analytical review. And executive teams produce strategy summaries and sensitive correspondence.

Rolling it out across the company

PhaseIndicative durationOwner
Data mapping and impact assessment2 to 4 weeksDPO and IT
Prototype on dummy data2 to 4 weeksIT and project team
Integrating pseudonymization and key management4 to 8 weeksIT and CISO
Security testing and sign-off2 to 4 weeksCISO and DPO
Production and monitoringOngoingIT and DPO

A pilot on a limited use case takes a few weeks. Start with the most exposed flow, usually documents sent to an AI assistant by legal, HR or finance teams.

The most common mistakes

The most widespread mistake is believing an enterprise plan removes the need to minimize what you send. Another frequent one: personal accounts left free to process work documents, and the habit of masking only the names while leaving identifying context in place.

People also often confuse hosting location with legal protection, accept a tool's terms of service without reading the clauses on data use, and log nothing, which makes it impossible to prove later what was sent.

Safe-doc: the protection layer before AI

Safe-doc home page

Safe-doc doesn't replace your AI assistant or add another one: it pseudonymizes before sending, and that's all. You keep ChatGPT, Claude, Copilot or Mistral, with your habits and your subscriptions.

It takes three steps: drop in the document (PDF, Word, spreadsheet or text), review what will be masked, send the protected version. More than 90 types of data are detected, and the real values are put back into the answer on your computer. The file is not kept after processing. See how it works.

Frequently asked questions

Can I put a confidential document into ChatGPT or Claude?

Yes, if identifying and sensitive data is removed before sending, if you use a plan covered by a proper contract, and if the use is listed in your records of processing.

Are ChatGPT Enterprise or Claude for Work enough?

They improve contractual safeguards (no training, controlled retention), but they don't remove the need to minimize what you send or to respect professional secrecy.

What is the CLOUD Act?

A 2018 US law that allows US authorities to require a provider subject to US law to hand over data it controls, even when that data is hosted outside the United States.

Is encryption enough to protect documents in the cloud?

Only if you hold the keys. If the provider holds them, it can be compelled to use them. Pseudonymization adds another layer: the data sent identifies no one.

Do I need an impact assessment to use AI?

Not always, but it is required for high-risk processing: large volumes of personal data, sensitive data, automated decisions.

What is the difference between pseudonymizing and anonymizing before AI?

Pseudonymization lets you restore the real data in the answer thanks to a table kept on your side. Anonymization is irreversible. For working with AI, pseudonymization is almost always more useful. See pseudonymization vs. anonymization.

Further reading

Sources

This article is general information and does not replace advice from a qualified lawyer. Consult a legal professional about your situation before acting on this content.