Data Privacy With Claude: What Never Goes in a Prompt, and How to Redact a Document Before You Paste It
Personal data, payment data, credentials and confidential records stay out of every prompt. Classify an input green, yellow or red first, then redact a fictional customer escalation with a nine-pass checklist and see that the reply loses nothing.
What you will learn
- Name the four kinds of data that never go into a prompt
- Sort any input into green, yellow or red before you paste it
- Redact a real-looking escalation ticket with a nine-pass checklist
- Replace details with roles so the answer stays just as good
Before you start
- Claude Projects: knowledge and instructions
Picture someone pasting this into a chat: "Summarise this:" followed by a customer's full name, a full card number and its expiry date.
That data left their control the moment they hit send. It is a genuine privacy risk, and it was avoidable. Some information should never make it into a prompt, and most of the time the answer doesn't need it anyway.
Four things that never go in a prompt
- Personal data: names, emails, addresses, phone numbers, anything that identifies a real person.
- Payment data: card numbers, CVV, bank details. It is regulated, and it belongs in payment systems, not chat.
- Credentials: passwords, API keys, access tokens. One leaked key can unlock everything.
- Confidential info: trade secrets, health and legal records, contracts, anything a rule or agreement guards.
Strip it or anonymise it before the text ever reaches a prompt.
Classify it first: green, yellow, red
Before any input goes in, run a quick pre-flight sort:
Where the line sits is your organisation's call, not yours to guess. The rule of thumb: you have a field, you ask "am I allowed?", you check the policy. When in doubt, don't. Leave it out and ask first.
Worked example: redact a document before you paste it
Most people skip redaction because they believe it will weaken the answer. This example shows it doesn't.
The document is an internal escalation note. Everything in it is invented for the course. In summary, it contains:
- the customer's full name and job title, her company name, email, direct phone line and billing address
- an account number, ticket IDs, and the card on file (brand, last four digits, expiry)
- the contract value (EUR 46,000 a year) and renewal date
- the story: double-charged in February and March, EUR 3,833 each time, raised twice and told twice it would be fixed "within 48 hours", now emailing the CEO and hinting she will review her options at renewal
- one throwaway line: on the phone she mentioned she had been on sick leave for six weeks, which is why the second charge was spotted late
- the need: a reply from her account manager today that acknowledges the failure without promising anything Legal has not signed off
Step 1: spot it yourself
Before any checklist, give yourself five seconds: what in here must not leave the building? Most people catch the name, email, phone and card.
Step 2: walk the nine passes
- Names: customers, staff, third parties. Replace with a role, such as
[ACCOUNT MANAGER]. - Contact details: email, phone, postal address, social handles.
- Identifiers: account numbers, ticket IDs, order numbers, internal URLs.
- Payment data: card numbers, even partial. Bank details. Never.
- Special category data: health, religion, ethnicity, sexuality, union membership, politics. The easiest to miss, because it usually arrives as a throwaway line in a sentence about something else.
- Company identity: if naming the customer is not needed for the answer, take it out.
- Credentials: API keys, passwords, tokens. Even expired ones.
- Anything under NDA: unreleased products, unannounced deals, legal strategy.
- The re-read: read the redacted version cold and ask, could I work out who this is? Three specific details together can identify someone even with every name removed.
Pass 5 is where this document bites. Six weeks of sick leave is health data about a named person, sitting in the middle of a sentence about finance admin. Nobody put it in a field marked "sensitive". It just turned up in a story, which is exactly how this always happens.
Step 3: replace, don't delete
[CUSTOMER - senior finance role] keeps the meaning. A blank space destroys it, and then you get a worse answer and blame the redaction. Here is the redacted target:
Escalation ticket [TICKET-ID] - internal notes
Customer: [CUSTOMER CONTACT - senior finance role]
Company: [CUSTOMER COMPANY - retail, Nordics]
Account: [ACCOUNT-ID]
Contract value: ~EUR 46,000/year, renews in 6 months, 90-day notice period
Standing: fourth largest account by contract value
What happened
The customer was double-charged in two consecutive months - approximately EUR 3,800 each time.
They raised it twice over five days, by email and by phone, and were told twice it would be
resolved within 48 hours. It was not.
The customer has now escalated to our CEO, copying their own CFO, and has referenced reviewing
their options at renewal.
Internal notes
- The first refund was approved but never processed - our error.
- The second charge was the same bug, not a separate incident.
What we need
A reply from the account manager today. Acknowledge the failure without promising anything
Legal has not signed off.
| Removed | Why |
|---|---|
| Name, email, phone, postal address | Directly identifies a person. Never load-bearing for the reply. |
| Account number, ticket IDs | Internal identifiers: no value to the model, real value to an attacker. |
| Card details | Never, under any circumstances, into a prompt. |
| Sick leave | Health information. The one people miss. |
| Exact company name | Identifies the customer even without the person. |
Kept: the story, the sequence, the money, the stakes and the constraint. Everything the reply actually needs.
Step 4: paste the redacted version
Paste the redacted note into Claude with this prompt:
Draft a reply from the account manager. Acknowledge the failure directly, once. Do not promise a refund date or any compensation - Legal has not signed off. Say what happens next and who owns it. Under 200 words.
Read what comes back and judge it for yourself. Nothing you removed was load-bearing. The model never needed to know who she was. It needed to know she was double-charged twice, told twice it was fixed, and is now talking to the CEO.
Redaction is not a tax on quality. If you can still answer the question, the personal data was never doing any work.
Common mistakes
- Catching the fields and missing the story. Health details hide in ordinary sentences.
- Deleting instead of replacing. Blanks lose the meaning; roles keep it.
- Thinking a partial card number is fine. Payment data, even partial, stays out.
- Skipping the re-read. A job title, a region and a contract value together can still point at one person.
- Guessing the policy. When in doubt, leave it out and ask.
Quick recap
| Step | What you do |
|---|---|
| Classify | Green, yellow or red, before it goes in |
| Strip the four | Personal, payment, credentials, confidential |
| Nine passes | Including special category data and the cold re-read |
| Replace, don't delete | Roles in square brackets keep the meaning |
Treat every prompt like an open door. The same thinking applies to files you add to a Project and folders you connect (see keeping a Project current and connected). Next, responsible use and transparency covers what you can defend having done after the fact.
StudyEasy AI Community
Learn AI engineering, share what you build, and connect with other learners.
Free resources: lesson files, notebooks and code
Ask questions and join engineering discussions
Meet real people learning and building with AI
Related course on Udemy
Claude Certified Associate (CCAO-F): Complete Exam Prep
Every domain of the Claude Certified Associate exam, explained.View on Udemy ↗: Claude Certified Associate (CCAO-F): Complete Exam Prep (paid course, opens in a new tab)Related posts
Claude.ai Interface Tour: Every Control You Need on One Screen
Sign in to claude.ai and learn the one screen you'll use for everything: the chat box, the model selector, the sidebar with chats and Projects, the attach and tools row, the Artifacts panel and Settings.
The AI Fluency Model: Delegation, Description, Discernment and Diligence
Most people pick up AI skills in a random order. The AI Fluency Model builds them in sequence: Delegation (what to hand off), Description (asking well), Discernment (judging the output) and Diligence (using it responsibly).
Working With Claude: Pick the Surface, Match the Model, Keep the Context Clear
Three questions every time you use Claude: where do I use it, which model fits, and how do I keep it sharp? Learn the five surfaces, the four model tiers and the context window, with three habits that keep the board clear.
Claude's Four Entry Points: Choose Chat, Projects, Artifacts or Research Before You Type
Before you type, pick the room: Chat for a quick word, Projects for recurring work with your files, Artifacts for a deliverable you'll edit and keep, Research for a deep, cited dig. A decision guide with links to each deep dive.
