Lawful Access and Government Data Requests
What governments can ask tech companies to hand over, which legal process applies, and what you may be told.
Key takeaways
- Requests are usually sorted by data type: subscriber details, activity records and content each tend to carry different legal thresholds.
- Providers review demands and may reject or narrow ones that are defective, overbroad or outside their jurisdiction.
- Emergencies, national security powers and gag orders follow their own paths and are less visible than ordinary criminal process.
- Data that crosses borders can be subject to treaties, direct agreements or conflicting laws.
- What a company collects, how long it keeps it and who holds the encryption keys largely determine what can be disclosed.
Governments can often require internet companies to hand over information about their users, but the legal hurdle usually depends on how sensitive the information is. Basic account details tend to be the easiest to obtain. The contents of messages usually require the most demanding process. A provider can only produce what it holds and can technically read.
The examples here lean on United States law because its categories are widely discussed. Other countries organize the same questions differently, rules have been changing, and none of this is advice about a particular case.
Three kinds of data
It helps to think in layers.
Subscriber information identifies an account: name, address, phone number, payment details, sign-up date and the IP addresses used to log in.
Non-content records, often called metadata, describe activity without revealing what was said. Examples include who emailed whom, when a call happened, how long it lasted and which cell sites a phone used.
Content is the substance: message bodies, stored files, photos and documents.
The lines aren't always clean. A web address can reveal a medical concern or a search query, and a long trail of location records can say more about a life than any single message. Courts and lawmakers have had to revisit these categories as technology changed. In Carpenter v. United States in 2018, the Supreme Court held that obtaining historical cell site location records generally requires a warrant.
Simplified. Exceptions apply, and other countries use different categories.
The main kinds of legal process
- A subpoena is a demand for information that is often issued without a judge reviewing it in advance. It's generally limited to less sensitive data.
- A court order requires a judge to find that a stated legal standard is met, for example that records are relevant and material to an investigation.
- A search warrant requires a judge to find probable cause and should describe what may be searched and seized.
- A wiretap order authorizes interception of communications as they happen. It carries stricter requirements than access to stored data.
- Pen register and trap-and-trace orders collect dialing, routing and addressing information in real time, without content.
- A preservation request asks a company to keep existing data so it isn't deleted while investigators seek proper process. It doesn't by itself authorize disclosure.
Much of the US framework for stored communications dates to the Electronic Communications Privacy Act of 1986, written long before cloud storage. Reform has been proposed repeatedly.
What happens inside a company
Larger providers run teams that handle these demands. A request usually arrives through a dedicated channel, and staff check that it comes from a real authority, uses the right kind of process, falls within jurisdiction and asks for something that exists.
Companies may push back on requests that are vague or sweeping, ask for narrower ones, or go to court. They may notify the affected user so that the user can object, unless a law or court order forbids it or notice would endanger someone. Smaller services may have no formal process at all, which is a risk for both users and operators.
Fraudulent requests are a known danger. Someone with access to an official's email account can pose as law enforcement, particularly in an urgent request. Careful providers verify identity through independent contacts.
Emergencies and national security
Laws commonly allow a provider to disclose data without the usual process when it believes in good faith that there's an emergency involving danger of death or serious injury. This is meant for situations such as a missing child or a credible threat, where waiting for a judge could cost a life. Critics watch for overuse because review happens afterward, if at all.
National security investigations use separate tools. In the United States these include national security letters, which can demand certain non-content records and often come with nondisclosure requirements, and orders under the Foreign Intelligence Surveillance Act. One provision of that act, known as Section 702, permits targeting non-US persons abroad with help from US providers. It has been contested because Americans' communications can be swept in, and its renewal has been the subject of repeated debate.
Supporters of these powers say threats move quickly and secrecy protects ongoing investigations and sources. Critics say secrecy limits public oversight and that safeguards for incidental collection are too weak.
Across borders
Data often sits in a different country from the investigator. Traditionally, one government asks another for help through a mutual legal assistance treaty, which can be slow.
Alternatives have grown. The US CLOUD Act of 2018 addresses whether American providers must produce data stored abroad and creates a framework for agreements that let partner countries request data from providers directly, under conditions. The Council of Europe's Budapest Convention on Cybercrime also supports cooperation, and the European Union has adopted rules for cross-border electronic evidence.
A company can find itself caught between one law that demands disclosure and another that forbids it. These conflicts connect to the wider rules on moving personal data between countries.
Some governments respond by requiring data about their residents to be stored locally. Supporters describe this as protecting sovereignty and ensuring courts can obtain evidence. Opponents warn that it raises costs, fragments services and can put data within easy reach of abusive authorities.
Encryption and the limits of compliance
If a provider doesn't hold the keys, it can't read the content. With true end-to-end encryption, a company can often supply account details and some metadata, but not messages. Backups are a common gap: a chat may be end-to-end encrypted while its cloud backup is readable by the provider unless an extra protection is switched on.
Law enforcement agencies argue that this leaves lawful warrants unable to reach evidence of serious crimes. Security researchers and privacy advocates argue that any deliberate access mechanism creates a weakness that others could exploit. The encryption backdoor debate sets out both cases.
Separately, some laws require certain communications providers to build interception capability into their networks. In the United States, the Communications Assistance for Law Enforcement Act of 1994 does this for covered carriers.
Requests that reach many people at once
Ordinary requests start with a suspect and ask for that person's records. Some demands work the other way around. A so-called geofence request asks which devices were in a particular area during a window of time. A keyword request asks who searched for a particular term. Both begin with an event and sweep in people who happened to match.
Investigators argue these can be the only lead in a serious crime and that results can be narrowed in stages under a judge's supervision. Critics argue that they search many uninvolved people without individual suspicion. Courts in the United States have not all treated them the same way, and the area has been changing. Companies' own design choices also matter: if location history is stored only on a user's device, a provider has much less to search.
The same logic applies to bulk requests for everyone who visited a page, joined a group or attended an online event. Where lawful activity such as protest or religious practice is involved, breadth raises particular concern.
Other routes to the same information
Legal demands aren't the only way governments learn things. Authorities may search a device they've lawfully seized, collect public posts, receive voluntary tips, or buy commercially available data from brokers. Buying data that would need a warrant if requested from a provider is a live policy argument, with proposals to restrict it and defenses based on the data being on the open market.
Data brokers are worth understanding for that reason, since their supply comes largely from ordinary apps and websites.
What you can reasonably do
You can't opt out of lawful process, and you shouldn't try to obstruct it. You can shape how much data exists.
- Read a service's privacy policy and its guidance for law enforcement, which often states what it can produce.
- Turn on settings that delete old location history and messages if you don't need them.
- Check whether backups are end-to-end encrypted, and understand that losing your recovery key may mean losing the data.
- Review a company's transparency report to see how often requests arrive and how often data is produced.
- If you receive a notice about a request for your account, talk to a lawyer quickly, because the window to object can be short.
Don't delete material once you have reason to think it's wanted in an investigation or lawsuit. Destroying evidence can be a serious offense on its own.
Common questions
Will a company tell me if the government asks for my data?
Many large providers say they notify users when legally permitted. A court order can delay or bar notice, and national security requests often carry secrecy requirements.
Does a VPN prevent data requests?
It changes who holds certain records. A VPN provider can receive legal demands in its own jurisdiction, and the services you sign into still hold your account data.
Can a foreign government request my data?
It may be able to, through treaties, agreements or direct demands on a company that operates there. The outcome depends on both countries' laws.