Before AI

Gemini sees the prompt, the file and the history

A practical guide to redact before gemini: what leaves the document, what to mask, and how to verify the result.

Redact Before Gemini: Keep Client Data Out of the Prompt

Gemini sees the prompt, the file and the history. Gemini sees what you type, the files you upload and the conversation history. With extensions or a workspace connection, it may also reach content you can access. The tool cannot tell a client name from a public one.

What leaves the document

Mask the document before you paste or upload it. Use tokens for names, accounts and identifiers, keep the mapping on your side, and restore the values in the answer. For workspace features, fix the permissions and label the sources before enabling them.

Where the data hides

The prompt is only one layer. Check:

The redaction flow

  1. Decide whether the task needs the real value.
  2. Mask the identifiers before the first prompt.
  3. Upload only the pages the task needs.
  4. Ask for tokens and restore on your side.
  5. Delete the chat or apply the retention rule.

Controls to verify

  • A masking step before the prompt.
  • A separate account or workspace for sensitive work.
  • Extensions and connected apps reviewed.
  • History and retention settings checked.
  • A reviewer for outputs that leave the team.

Retention and evidence

Chat history, uploaded files and generated documents can persist. Check the account settings and the vendor terms. A shared link or an exported file is a copy outside the chat.

Limits

Gemini can infer from context and can use a connected source you forgot about. Masking reduces exposure; it does not make the document anonymous or the tool local.

What Gemini sees

Gemini's consumer app and the Workspace and cloud integrations are different products with different rules. The consumer app trains on interactions under its terms unless the settings say otherwise; Workspace and Google Cloud offerings run under administrative agreements that exclude training and bound retention. The same question asked in three surfaces can have three data fates — the surface decides, so name the surface before deciding what may be pasted.

The masking habit

In Workspace, the corpus is the files your account can open — Drive, Docs, Mail — so the masking question starts with sharing hygiene: what Gemini can reach, a person could already reach, and stale grants are the silent exposure. For the consumer app, paste under the assumption that it keeps what it gets, and mask accordingly. The file-upload feature in any surface multiplies the exposure: the upload is a copy, and the copy answers to the surface's terms, not yours.

The five-minute check

Three screens decide most of the data fate: the consumer app's settings for whether conversations improve the product, the Workspace admin console's AI-feature controls, and the cloud project's data terms. Five minutes on each, once a quarter, keeps the posture where the policy says it is. Terms drift faster than habits; the quarterly check is the habit that follows them.

How Veilbrook fits

Veilbrook can mask a document before it reaches Gemini where the flow allows a gateway, or produce a masked copy for manual upload. It is not a native Gemini integration.

Questions for the vendor

What good looks like

A good workflow is boring: the tool sees tokens, not the client; the mapping stays on your side; the history is short; and a second person can explain what was sent. The output still needs a review, because a model can infer a value that was never in the prompt.

Before you send

Classify the document, mask the identifiers, attach only what the task needs, and keep the mapping outside the tool. After the answer, restore the values on your side and check that the output did not reintroduce one. If the tool keeps the conversation, decide the retention before you start. A receipt is not a substitute for a review.

Common mistakes

Questions

Is Gemini safe for client files?

It depends on the account, the plan and the terms. Mask the personal data before upload and check the history settings.

Do extensions increase the risk?

Yes. Each connected source is another path to data you may not have meant to include.

Can I delete a chat?

You can, but exports, shared links and the recipient's copy may remain.