Security and control

Company Documents and AI: What to Check Before Uploading

A practical guide to using AI with company documents: data to share, access, storage and controls before you start.

An archive of documents and a filter that lets only some files through to an AI module.

Before uploading company documents to an AI tool, clarify which information is needed, who can use it and what the service will do with the data. The check concerns the product and plan you choose, the configuration and the people involved.

To start, choose a narrow task and use demonstration or authorised documents. Connecting the whole archive immediately makes it harder to understand which information reaches the model and whether responses respect the team’s permissions.

Which documents do you want to use and for which task

“Summarise a public sheet” and “analyse a confidential contract” may seem like the same operation in a chat interface. For the company they have different consequences. In the second case, the information involved may concern customers, commercial terms, people or non-public agreements.

Prepare a simple inventory of the documents involved. For each group note a person responsible, the authorised users, the purpose and information that must not be shared. An initial classification can distinguish public materials, internal documents and confidential content. Adapt it to rules already used in your company, without creating labels no one knows how to apply.

The question to ask the process owner is concrete: to get this result, which parts of the document are actually necessary? Often a technical summary needs the problem description, but not the customer name or the commercial terms of the order.

Verify the service, the plan and stored data

The model name alone does not describe the data path. A personal chat, a business plan, an API integration and a local installation can have different conditions and controls. In the guide to choosing AI models we separated these levels precisely to avoid incomplete comparisons.

Before the test, gather documented answers to these questions:

  • Which service and which plan will be used? Who administers the account?
  • How are inputs, files and responses used? What conditions apply to any use for training?
  • How long do conversations, attachments and logs stay available? How are deletion and copies managed?
  • Where is data processed and which parties or services can receive it?
  • What controls are available for users, shares, connectors and linked tools?

Note the official reference and the verification date. A generic commercial answer like “data is protected” does not let you configure a process. Opting out of training also answers only one question: storage, access and transfers between components still need to be clarified.

If personal data or documents subject to specific obligations are involved, have the data handling assessed by whoever manages privacy and security in your organisation. Technical and organisational checks must refer to the same real workflow.

Reduce data before sending it

Reducing shared information makes it simpler to control the process. Start from content needed for the task and remove credentials, personal details and commercial information that do not help you get the response. Information disclosure is one of the risks described by OWASP for LLM-based applications.

A fictitious example: summarising a support request

Initial information: customer Example Ltd, contact Mario Example, delivery address, order number, confidential discount and description of an error on Demo X product.

Information useful for the technical summary: Demo X product, version, error message, circumstances it appears under and verifications already done.

Information excluded from this test: contact name, address, discount and commercial references. They may be needed in another step of the process, but are not necessary to summarise the technical issue.

The example shows a selection criterion, not an automatic anonymisation procedure. Replacing a name with a code does not guarantee that a person or company is not recognisable from other details. Also check extracted text, attachments and metadata when they are part of the submission.

Permissions must follow documents

An assistant searching the company archive must respect what each user is authorised to consult. If a support officer cannot open the management’s confidential price list, they must not be able to reconstruct it by asking the AI for a summary.

The system must verify the user’s identity and limit retrievable documents before passing them to the model. An instruction like “do not show confidential information” does not replace this check. You must also consider search indexes, temporary copies, stored responses and conversation logs.

Support
In the demonstration test, consults authorised manuals and operating procedures. No access to administrative documents.
Administration
Consults documents assigned to their role. The ability to use the assistant does not automatically grant access to the entire archive.
System administrator
Configures integrations and controls. Any log viewing functions must have defined access and purpose.

Also test permission revocation: a document that was accessible yesterday and is no longer accessible today must follow the new rule. The project must establish how to update indexes and manage any copies, preventing the assistant from continuing to retrieve information no longer authorised.

When a document tries to instruct the AI

A file can contain text that tries to direct the assistant’s behaviour instead of just providing information. For example, it can ask it to ignore the user’s question or send data to an external destination. This risk is called prompt injection; it can also come from documents and pages retrieved during a search.

OWASP describes the problem and possible mitigations. Retrieved content should be treated as data to examine. Limited permissions, controls over available operations and approvals for relevant actions reduce the consequences of unexpected behaviour, without guaranteeing the risk is eliminated.

For the first test of document consultation, you can limit the tool to reading and preparing a response. If it later needs to modify an order or send a message, those capabilities will require specific controls in the application. Prompt wording alone is not a sufficient barrier.

A narrow test, before involving the team

Define a small set of authorised documents, some representative questions and expected results. Involve whoever knows the process: a smooth response can omit exactly the detail needed to work.

  1. Test a normal question. Verify correctness, completeness and reference to the document used.
  2. Test a question with no answer in the archive. The tool must recognise the limit, rather than fill the missing data with an assumption presented as certain.
  3. Test with another role. Check that retrieved documents change based on permissions.
  4. Update or revoke a document. Verify the behaviour of indexes, stored responses and shown sources.
  5. Check what is logged. The log useful for diagnosing an error should not become an indiscriminate copy of confidential documents.

Record errors, who evaluates them and what prevents moving to the next phase. An initial test is for finding problems and defining controls; by itself it does not certify the security of the entire system.

From controls to a real project

The first useful result is an understandable flow: which data enters, which components process it, who can consult it and how it is managed over time. From there you can choose model, infrastructure and integrations aligned with the work to be done.

Digital Titan develops AI solutions integrated with company systems, including assistants on documents, API connections and local installations when suited to the project. We can start from a narrow process and design together information retrieval, access and checks on responses.

Let’s talk about your documents and the process to improve

Introductory technical guide prepared on 7 September 2026. The examples are fictitious and do not represent client documents or results. The conditions of individual services should be verified in the version and plan actually used. References: OWASP Gen AI Security Project, information disclosure risks and prompt injection.

← All articles

Digital Titan develops software and integrates AI into business processes. See how we work.

Go to Top