IntelekIQ
Secure AI for Legal Practice
White Paper A2  |  The data-flow map

Follow the Data

Where confidential client information goes when a firm uses AI, and how contractual and architectural controls protect it in different ways.

For: Data Protection Officers, IT, and partners  ·  Reading time ~11 min

A firm cannot govern AI without knowing where confidential client information goes. That answer shapes which tools the firm permits, which controls it needs and what it can tell clients. This paper maps where data lives, where it moves and where an AI model reads it.

The first paper in this series explained why AI needs governance. The next step is a shared picture of the firm's data flows, including the point at which an AI model processes confidential client work.

1Where your data already lives

Before adding AI, the firm should map its existing systems. A small or mid-size firm rarely uses one system. Client files may sit on an office network drive and in a cloud document-management system. Email and files may live in Microsoft 365. The practice-management system may run on a local server or in a vendor's cloud.

Some information is on the firm's premises. Other information sits in a vendor's cloud under the firm's tenant and account. These are both common parts of a modern legal technology estate.

Confidential client files already span systems A typical firm's estate, before any AI is added to it On your premises In a vendor's cloud (your tenant) Confidential client files NAS / file server scanned files & docs (SMB) Local practice system on-LAN matter / case server Microsoft 365 SharePoint · OneDrive · Exchange Document management iManage · NetDocuments Cloud practice system Clio · Denning Online · others Some files may already live in a vendor's cloud under the firm's tenant. AI adds a separate processing question.
Figure 1. A typical firm already stores information across on-premises and cloud systems. AI does not create that distribution. It adds a new processing path that the firm must understand.

Storing files in Microsoft 365 or another cloud service is not the same as sending their contents to a third-party AI model. The precise question is: when the firm adds AI, where does confidential client information travel that it did not travel before?

2The moment that matters: inference

An AI model does its work, known as inference, wherever the model runs. To answer a question, a grounded system assembles a prompt and retrieves relevant passages from authorised firm documents. It then sends the question and retrieved text to the model. The location of that model determines where the information is processed.

There are three broad destinations. Each places the information under a different set of controls.

What "sending data to an AI" really means At the moment of inference, matter text is sent to wherever the model runs Client-file text prompt + the documents it retrieves the inference boundary Public / third-party cloud model Data is processed outside the firm's environment Private model in your cloud tenant (VPC) Stays in your tenant boundary, but vendor-operated On-premises private model Inference takes place within the firm's environment Storage and AI inference are different events. The firm must assess where file contents are processed when an AI model reads them.
Figure 2. The inference point. The relevant question is not only where a document is stored, but where its contents are processed when a model reads them.

Storage still matters. AI adds another question at inference, when client-file content is transmitted to a model for processing. A tool can leave the original file in place while sending relevant passages elsewhere each time a lawyer asks a question.

3Two boundaries people confuse

Two boundaries are often confused. Separating them makes the data flow easier to assess.

The first is the tenant boundary. A file stored in the firm's Microsoft 365 or document-management account is governed by the firm's contract and tenant controls. The second is the third-party-model boundary. This is the point at which confidential client text is sent to a model the firm does not operate. A file can remain in the firm's tenant while its contents are processed by an external model.

For that reason, saying that documents remain in the firm's SharePoint does not answer the inference question. The firm must also establish whether document contents are transmitted to an external model. Retrieval-augmented systems place relevant passages into the prompt as context, so this data flow should be explicit.

4Air-gap versus the AI-inference wall

The term "air-gapped" is often used too loosely. A true air gap means that a system has no network connection to the outside world. A firm that uses Microsoft 365 for email or documents is connected to cloud services, so it should not describe its whole environment as air-gapped.

A narrower control is an AI-inference wall. It means that confidential client information is not sent to a third-party model for inference. Files may still live in the firm's cloud tenant, and email may still flow through Microsoft 365.

With Secure Law, AI processing of confidential client files takes place on premises, under the firm's control. The files do not need to be sent to a public or third-party AI model.

Use a precise description. Secure Law runs on premises and processes confidential client files within the firm's controlled environment. That is different from claiming that the whole firm is air-gapped.

5What "zero-retention" does and does not buy you

Enterprise AI vendors often provide two important assurances: they do not retain customer data, and they do not use it to train their models. These controls can make an enterprise service materially safer than a free public AI tool.

But it is worth seeing exactly what they change, and what they do not.

These terms do not change the destination. Under a zero-retention arrangement, confidential client information is still transmitted to a model the firm does not operate. The contract and the vendor's controls govern retention and reuse after the information arrives. The firm should assess the terms, their implementation and the evidence available.

Four postures: what actually protects the data Whether you are relying on a contract or on architecture is the distinction that matters Approach Inference happens What protects the data Residual exposure Public consumer AI Third-party cloud Little: consumer terms High Enterprise cloud zero-retention terms Third-party cloud Contract + vendor controls Medium Private model in your cloud (VPC) Your cloud tenant Tenant isolation; vendor-run Lower Secure Law on-premises private AI On premises Firm-controlled environment Lowest Zero-retention is a real mitigation, but it is a promise enforced by contract, not a wall enforced by architecture.
Figure 3. Different approaches rely on different controls. Public and enterprise services depend mainly on terms and vendor controls. Private cloud and on-premises systems add stronger technical isolation. Each can be appropriate when matched to the work.

Enterprise cloud AI can be appropriate for a great deal of a firm's work. The purpose of this distinction is to help the firm decide which information it will protect through contracts and vendor controls, and which work should remain in an on-premises private AI environment.

6Not all data carries the same stakes

The decision becomes manageable when the firm stops treating all information as one category. A published statute and confidential correspondence from a live matter carry different risks. They should not pass through the same controls by default.

A simple traffic-light lens, developed fully in the next paper, is enough to begin:

Green: firm knowledge. Statutes, precedents, know-how and published material. This non-confidential information can support firm-wide AI use.
Amber: confidential client work. Live documents, correspondence and drafts. This material needs stronger controls at inference.
Red: excluded. Sensitive personal data, trust-account records, material under undertaking or an ethical wall. Kept out of the general AI path altogether.

Mapping the estate against these classes replaces a broad question with specific ones: what may each tool do with Amber information, and where does it send that information for processing?

An honest bound

A data-flow map is not a control by itself. It shows where controls are needed. Enterprise contracts, tenant isolation and on-premises private AI can all be appropriate for different classes of information. The map helps the firm match each control to the sensitivity of the work.

7You cannot govern what you cannot see

Before choosing an AI tool, comparing architectures or writing a policy, draw the firm's data-flow map.

List where confidential client files live. For every current or proposed AI use, mark the point at which their contents would be sent to a model the firm does not operate. Record the control chosen for each path. This gives partners, the DPO and IT a shared factual basis for decisions.

With that map in hand, the firm is ready for the two decisions the next papers address. How to classify its information so the right rule attaches to the right data (A3). And how to choose a deployment architecture that keeps the most sensitive inference under the firm's own control (A4).


Notes & further reading

  1. Singapore Personal Data Protection Commission (PDPC) and Malaysia's Personal Data Protection Commissioner: guidance on accountability, transparency and lawful basis when personal data is processed by AI systems.
  2. Microsoft, Microsoft 365 data residency and the tenant boundary: learn.microsoft.com. Vendor documentation on where tenant data resides; illustrative of the storage-versus-inference distinction drawn in §3.
  3. Enterprise AI providers' zero-retention and no-training commercial terms: the contractual controls discussed in §5; terms vary by vendor and should be read before relying on them.
  4. Companion papers in this series: A1 The Governance Imperative (why this matters); A3 Classifying Firm Information for AI (the traffic-light scheme in full); A4 Cloud, On-Premises or Sealed? (choosing the architecture).

Vendor terms and data-residency positions change; confirm the specifics for your own tools and tenant before relying on them.

IntelekIQ · Secure AI for Legal Practice · White Paper A2: Follow the Data. Next in the series: A3: Classifying Firm Information for AI: a traffic-light scheme.