Local AI

Local AI: how to protect confidential data and intellectual property

DBA Service 8 min read

A lawyer gives an AI assistant a draft contract and asks it to improve the wording. An accountant asks it to explain a client’s bank statement. A developer pastes a function’s source code and asks for help finding a bug. All three are using a convenient tool for their work. They are also passing confidential information to a third party, without giving it a second thought.

This article looks at how client files, source code and trade secrets reach public AI services. It explains how local AI, a model running on a server in your office, can prevent that transfer. It also covers the protection business plans offer, Lithuanian and EU legal requirements, and the limits of local models.

Four ways data leaves the company

Employees provide confidential information themselves. In April 2023 Samsung engineers uploaded confidential company source code to ChatGPT. Within weeks the company had restricted the use of generative AI tools on its devices and internal network. There was no break-in: employees simply used a convenient tool for everyday tasks.

Browser extensions collect conversations. In December 2025 the cybersecurity company Koi reported on browser extensions with more than eight million users. Although marketed as VPN and ad-blocking tools, they also collected conversations with ChatGPT, Claude, Gemini and other AI assistants. In March 2026 The Register reported that data brokers were selling access to these conversations. They included chats in which employees had provided internal company information and asked for it to be rewritten or summarised.

A sharing feature makes conversations public. In July 2025 Fast Company journalists found nearly 4,500 shared ChatGPT conversations in Google search. Some contained names, CVs and confidential work information. Sharing was enabled by ticking a box. OpenAI acknowledged that the feature made it too easy to publish information users had not intended to share. The option was later removed.

A court orders the provider to retain data. In 2025 a US court, in the lawsuit brought against OpenAI by The New York Times, ordered the company to retain consumer ChatGPT and API content indefinitely. The requirement also covered conversations users had deleted.

According to OpenAI, this obligation ended on 26 September 2025. It did not apply to ChatGPT Enterprise or API customers whose data was not retained. Conversations from the European Economic Area no longer need to be retained.

In January 2026 the same court confirmed that OpenAI must give the plaintiffs a sample of 20 million ChatGPT conversations with identifying information removed. This case shows that a provider’s promise to delete data can be overridden by a court ruling in a case that has nothing to do with your company.

What protection business plans offer

The greatest risk comes from using free and personal accounts. OpenAI states that content from its consumer services may be used to train models unless the user opts out. Anthropic lets users of personal plans choose whether their data may be used for model training. With their consent, the company retains de-identified data for up to five years.

Google warns Gemini users that some conversations are reviewed by people and retained for up to three years. It therefore asks users not to provide confidential information they would not want to disclose to those reviewers.

Business plans offer different data protection guarantees and should be assessed separately. OpenAI, Anthropic, Microsoft and Google state that they do not use business customers’ content to train models by default.

OpenAI and Microsoft, for example, enter into data processing agreements. Microsoft also applies its EU Data Boundary commitment to Copilot, with exceptions. It does not cover web search queries or Anthropic models used by Copilot. In addition, when flex routing is enabled, data may be processed outside the EU during peak demand. This setting is enabled by default for organisations whose Microsoft 365 environment was created after 25 March 2026.

For many companies, that protection is sufficient. Even so, three important considerations remain.

First, data still leaves your network and may be stored in the provider’s systems for a time. OpenAI’s enterprise privacy page states that API inputs and outputs may be retained for up to 30 days unless an agreement provides for no retention. Authorised employees may access stored content to provide support, investigate abuse or meet legal obligations. Specialised contractors may also carry out abuse reviews.

Second, the provider is subject to requirements from courts and other authorities in its own country.

Third, business-plan protection applies only when employees use business accounts. Those guarantees do not apply to a personal account open in the next browser tab.

What Lithuanian and EU law require

Trade secrets. Article 1.116 of the Lithuanian Civil Code links trade secret protection to whether the person lawfully controlling the information takes reasonable steps, taking the circumstances into account, to keep it secret. The EU Trade Secrets Directive (2016/943) sets the same condition. Legal protection can therefore be lost through your own handling of confidential information.

In January 2026 a US federal court dismissed a plaintiff’s trade secret claim. She had developed her material using ChatGPT, shared it voluntarily and identified no measures she had taken to preserve its secrecy. The case was decided under US law, but the requirement to take steps to keep information secret is similar.

Professional secrecy. The same Civil Code article recognises as a professional secret information that lawyers, doctors, auditors and other professionals must protect under law or contract.

Article 39 of Lithuania’s Law on the Bar requires lawyers to protect information entrusted to them and not disclose it. Under Article 46, professional secrecy covers even the fact that someone has consulted a lawyer, the information provided by the client and all communications with the client. Under Article 11 of the Law on the Audit of Financial Statements and Other Assurance Services, auditors and audit companies must observe the principles of confidentiality and professional secrecy.

In its guide published in October 2025, the Council of Bars and Law Societies of Europe (CCBE) advises lawyers not to provide generative AI tools with personal data, confidential information or other client-related data unless appropriate safeguards are in place. One of the three safeguards it identifies is an AI system running locally or in a secure environment controlled by the office itself.

In its March 2026 technical guide, the CCBE describes AI running on office premises as the safest option from a confidentiality perspective.

This issue is relevant in Lithuania too. In September 2026 the Lithuanian Bar’s Information Technology and Artificial Intelligence Committee invited lawyers to practical training on “AI in legal practice: opportunities, tools and safe use”.

Personal data. If you provide personal data in an AI prompt, Article 28 of the GDPR requires a data processing agreement with the provider processing it on your behalf. An employee using a personal AI assistant account has no such agreement.

In its recommendations, Lithuania’s State Data Protection Inspectorate advises organisations to establish what happens to the personal data they provide before they start using an AI system. Is it deleted when the conversation ends? Can it be used for further model training? Is it stored locally or in the cloud? Is it transferred to third countries?

AI Act. The AI Act does not determine where a model must run. For most companies, Article 4 is currently relevant: organisations whose employees use AI tools must take measures to develop their AI literacy.

This obligation has applied since February 2025. National authorities have supervised compliance since August 2026. The application of rules for high-risk systems has been postponed; the first will apply from December 2027. Installing a local AI server does not remove the obligation to develop employees’ AI literacy.

What a local AI server changes

A local AI server is a computer installed in your office that runs an open large language model (LLM). DBA Service selects the hardware and model based on your tasks and the number of users.

Employees connect to the system over the internal network using a browser and individual accounts. Developers can work through a CLI using a coding agent such as Claude Code or OpenCode, connected to the server through its API. Your internal systems can connect to the model through the same API.

Prompts, documents and source code are processed on your server and remain on the office network. Content entered or uploaded is not sent to an external AI service provider.

How does this change the data disclosure scenarios described earlier? A contract submitted through the chat window is processed by your server. An external provider does not store the conversation, use it to train models or give its reviewers access to it. There is no public conversation-sharing link. Court orders directed at an external provider do not cover this data either, because the provider does not hold it.

However, the security of browser extensions installed on employees’ computers still needs to be assessed separately. An extension that collects content displayed in the browser can also copy a conversation with a local model.

This setup allows confidential documents, client data and source code to be processed within the company without sending them to external AI service providers. The company retains the usual responsibilities of maintaining its own server: access control, backups, rules for employee use and physical security of the premises. The CCBE also stresses that this deployment offers the most control, alongside the greatest responsibility for the equipment’s security and operation.

The limits of local models

Local models lag behind the largest cloud models. In May 2026 Epoch AI estimated that the strongest open models trail the best closed models by an average of four months. The researchers also noted that the actual gap may be larger.

The CCBE’s technical guide states that smaller models remain substantially less capable than the most advanced models. However, a smaller model may perform specific tasks comparably well. Practical examples of local use include drafting and editing text, summarising collections of documents and extracting relevant contract clauses. We recommend testing Lithuanian-language quality separately using your own documents.

A local model, like the major cloud models, can make mistakes, so important answers must be checked by a person.

DBA Service offers server rental with a 14-day return period. During that time, you can test the model on your everyday tasks and assess whether its capabilities and speed meet your needs. The server can be rented or purchased.

Who this solution suits

Local AI suits any company that wants to protect its trade secrets and intellectual property and be confident that its data will not be leaked to third parties or used to train AI models.

If a company can send data to a business cloud service under a data processing agreement and needs the strongest model for its work, a business plan is the better choice. In that case, it is important to ensure that employees use business accounts.

The local AI page explains how the server is installed, used and maintained. To assess whether this solution suits your company, tell us which tasks you would use it for and how many people would work with it at the same time.

Facing something like this?

Get in touch and we will find a solution.