An employee pastes a contract, a customer list, or a case file into an AI chat to "save time." Without realizing it, they have just sent confidential information to a third party. Before integrating language models into your company, you should be clear about what data leaves, where it goes, and what obligations you have.
Short answer: When you use a language model, your text travels to the provider's servers, so in Mexico you must comply with the Ley Federal de Protección de Datos Personales en Posesión de los Particulares (LFPDPPP, the federal law on personal data held by private parties): privacy notice, consent where applicable, and security measures. Reduce risk by minimizing and anonymizing data.
Notice: this article is general technical guidance, not legal advice. For compliance decisions, consult a lawyer who specializes in data protection.
What happens to your data when you use an LLM?
An LLM (large language model, such as ChatGPT or Claude) is a system that processes text on its provider's servers. When you send text to a model, that text travels to the provider's servers, is processed, and a response comes back. What matters is what the provider does with it afterward. Terms differ by product:
- Consumer applications (the free or personal version of a chat): they tend to have broader terms on the use of conversations, although many providers offer options to disable use for training.
- APIs and enterprise plans: they normally offer stricter terms, such as not using your data to train models, defined retention periods, and data processing agreements.
Read each provider's current terms; they change over time and you should not assume anything.
What does the law in Mexico say about personal data and AI?
In Mexico, the LFPDPPP applies to companies that process personal data. The version in force is the new law published in the Diario Oficial de la Federación (Mexico's official gazette) on March 20, 2025 (in effect since March 21), which replaced the 2010 law. Under it, the authority for the private sector is no longer the INAI (the former data protection institute) but the Secretaría Anticorrupción y Buen Gobierno (Mexico's Anti-Corruption and Good Governance Ministry). In general terms, it implies things such as:
- Having a privacy notice that states the purposes of the processing.
- Obtaining consent when appropriate, and with greater rigor for sensitive data (health, origin, beliefs, among others).
- Respecting the rights of access, rectification, cancellation, and objection (known as ARCO rights).
- Applying administrative, technical, and physical security measures.
- Taking care with transfers and remissions of data to third parties, including service providers in other countries.
The regulations and secondary rules may continue to be adjusted after the reform, so verify with your legal advisor the version in force and how it applies to your use of AI, especially if you process sensitive data or data about minors.
What are the main privacy risks with LLMs?
| Risk | Example | Measure |
|---|---|---|
| Leak through unauthorized use | Employees paste customer data into personal chats | Usage policy and an approved corporate tool |
| Unwanted retention | The provider stores conversations | Configuration and a contract with minimal retention |
| Exposure between users | The assistant shows information from another department | Permissions applied at data retrieval |
| Prompt injection | A document manipulates the agent into revealing data | Least privilege and validation in code |
| Excessive logging | Logs with personal data and no control | Anonymize and define deletion periods |
| Dependence on a provider | Change in terms | Abstraction layer and an exit plan |
What practical controls protect data?
1. Classify your data
Define categories: public, internal, confidential, and sensitive. Decide which can be sent to an external model and which cannot.
2. Minimize
Send only what is necessary. To classify a ticket you do not need the customer's full name or phone number.
3. Anonymize or pseudonymize
Replace names, tax IDs (RFC), national ID numbers (CURP), account numbers, and addresses with identifiers before sending them, and restore them when you receive the response. Do it with deterministic code, not by asking the model itself to do it.
4. Choose provider and plan with care
Prefer API or enterprise plans with commitments not to train on your data, limited retention, and data processing agreements. Check in which regions the data is processed.
5. Control access
Each user should only be able to query what they are already allowed to see. In RAG, filter before searching, not after.
6. Protect keys and logs
API keys go in secrets managers (see AI security: prompt injection and data leakage). Conversation logs are encrypted, limited by role, and have a deletion period.
7. Train your team
A clear, short policy prevents most incidents: what can be pasted into an AI tool, which tool is authorized, and whom to ask.
8. Update your privacy notice
If you use AI to process personal data of customers or employees, check with your advisor whether the purposes and transfers are properly disclosed. To go further, see personal data protection and the privacy notice and the data privacy checklist for AI in small and midsize businesses.
Is it worth using models on your own infrastructure?
For very sensitive data there is the option of open-source models deployed in your own cloud or servers. You gain control, but you take on infrastructure cost, maintenance, and generally lower quality than frontier models. It is reasonable in highly regulated sectors or with strict requirements; for most, an API provider with a good contract and minimized data is enough.
Common mistakes
- Banning AI without offering an alternative; employees will use it anyway on their own.
- Believing that "they do not train on my data" is the same as "they do not store my data."
- Anonymizing only the name and leaving data that identifies by context.
- Storing complete conversations indefinitely.
- Not logging who queried what.
- Ignoring that documents uploaded to an assistant may contain third-party data.
- Leaving compliance for the end of the project.
When should you take privacy measures to the extreme?
If you handle health data, financial data, data about minors, or information subject to contractual confidentiality, privacy design must be part of the architecture from the start, with prior legal assessment. If your use cases only involve public or low-risk internal information, basic controls and a clear policy may be enough.
At DaltoAura we design AI integrations with data minimization, per-user permissions, and controlled logs, and we coordinate the compliance points with your legal department.
Frequently asked questions
Is it legal to use ChatGPT or Claude with my customers' data?
It depends on how you do it. Under the LFPDPPP in force (the 2025 law, overseen by the Secretaría Anticorrupción y Buen Gobierno) you must have a privacy notice that states the purposes, consent where applicable, and care with transfers to third parties, including providers in other countries. This is technical guidance, not legal advice: validate your case with a lawyer who specializes in data protection.
What is the difference between using the chat app and the API in terms of privacy?
Consumer applications tend to have broader terms on the use of conversations, although some providers let you disable training. APIs and enterprise plans normally offer stricter terms, such as no training on your data and defined retention. Read the current terms because they change.
How do I anonymize data before sending it to a model?
Replace names, RFC, CURP, account numbers, and addresses with identifiers before sending, and restore them when you receive the response. Do it with deterministic code, not by asking the model itself to do it, and check that no data remains that identifies the person by context.
What AI usage policy should my company have?
A short, clear policy that states which types of data may be pasted into AI tools, which tool is authorized, and whom to ask when in doubt. Banning without offering an alternative usually fails, because employees use personal tools on their own and information leaves without control.
Let's talk
If you need to use AI with customer data or sensitive information, tell us your case and we will design an architecture with the right privacy controls.