Does a UK Data Retention Notice Make Your ISP Keep the Pages You Read?
No, not as such. A retention notice can make a provider keep a record that your connection reached a service, for up to 12 months. It cannot make them keep what the page said.
The awkward part is the web address, which starts out as routing information and ends up describing exactly what you were reading. The legal line between communications data and content runs through the middle of it.
The notice can only cover communications data
Section 87 of the Investigatory Powers Act 2016 lets the Secretary of State require a telecommunications operator to retain "relevant communications data". The requirement has to be necessary and proportionate for listed purposes, and a Judicial Commissioner has to approve the decision to give the notice.
That term covers data which helps identify things such as:
- the sender or recipient of a communication
- its time or duration
- its type, method or pattern, or the fact that it happened
- the telecommunication system involved, and where that system is
The definition says it "includes, in particular, internet connection records". Content is a separate category. Section 261(6) defines it, roughly, as anything in or attached to a communication which reveals anything of what might reasonably be considered its meaning.
There are wrinkles: meaning inferred from the mere fact of a communication doesn't count, and "systems data" is not content. Still, the text of the article you read is plainly content, and a retention notice gives no power to demand it.
An internet connection record names a service
Section 62(7) defines an internet connection record (ICR) as communications data which may help identify the service a communication goes to, for the purpose of accessing or running a file or program, and which an operator generates or processes while supplying the sender.
The Home Office's Communications Data Code of Practice puts it more bluntly at paragraph 2.92: an ICR "will only identify the service that a customer has been using". It says there is no single fixed set of data, but the core is likely to include:
- an account, device or connection reference
- source IP address and port
- destination IP address and port
- start time, plus end time or duration
It may also include data volumes, the name of the service or server, and "those elements of a URL which constitute CD" (communications data). The URL elements come up again below.
Paragraph 2.97 says ICRs can include connections your apps and devices make automatically, so they reach beyond your own clicks. A record of a connection is not proof that a person sat there reading anything.
The web address gets cut into pieces
Take https://www.example.org/health/symptoms?q=lump#treatment. Paragraphs 2.77 to 2.85 of the Code pull URLs apart like this:
- Host name (
www.example.org): communications data. The Code says a fully qualified domain name is not content because it does not identify individual items of content. - Port: communications data.
- User info (a username before the host, absent here): communications data where it is required to route the communication.
- Path, query and fragment (
/health/symptoms,q=lump,treatment): listed as parts a URL may contain, but not declared to be communications data.
My reading is that a path like this one, and certainly a search term, reveals meaning and so is content. The popular shorthand says everything after the domain name is off limits. That is a decent rule of thumb, but it is tidier than what those paragraphs actually say.
Paragraph 2.81 notes that elements of a URL may be used to route a communication to the correct server, and 2.82 treats those routing elements as communications data. So the answer for a particular fragment of a particular address can depend on what it does.
Quick detour, because this bit is odd. Paragraph 2.85 says that where other data cannot be reliably separated from a URL, it falls under the "inextricably linked" data provisions. I would not read that as a general licence to hoover up full addresses, since the same paragraph starts by limiting notices to the parts which are communications data. But "we couldn't separate it" is exactly the sort of engineering claim I'd want someone to test.
HTTPS keeps the path from a provider that only carries it
With ordinary HTTPS, an ISP carrying the packets cannot read the path, query or page body. The fragment isn't even sent in the HTTP request. Unless something breaks or intercepts the TLS session, the provider doesn't have the full page address to keep.
It can still see the destination IP, and often the host name, through unencrypted DNS or the TLS Server Name Indication (SNI) field. You can look at your own traffic with tshark, using your interface name in place of eth0:
sudo tshark -i eth0 -f 'port 53 or port 443' \
-Y 'dns.qry.name or tls.handshake.extensions_server_name' \
-T fields -e ip.dst -e ipv6.dst \
-e dns.qry.name -e tls.handshake.extensions_server_name
Load a page and you should see host names where DNS or SNI is exposed, and no HTTPS paths. Encrypted DNS removes the plain port 53 lookups, and Encrypted Client Hello can hide the real server name where it is supported. Neither hides the IP address your packets are going to.
This only shows what is visible on the wire. It can't tell you what any provider records.
Connection records escape the third-party data limit
Section 87(4) restricts notices from requiring a network operator to retain third-party data: broadly, data about another operator's service running over its network, which the network operator doesn't need or otherwise use, subject to further conditions.
The Investigatory Powers (Amendment) Act 2024 inserted a catch: the restriction does not cover data which is, or can only be obtained by processing, an internet connection record. The Code puts it simply at 2.96: the third-party restriction does not apply to ICRs.
So "that's another company's service, we only carry it" is no answer to an ICR requirement. Content still doesn't become communications data.
You probably can't find out whether your ISP has a notice
Nothing in section 87 makes every ISP log ICRs by default. The duty comes from a notice, and its terms set out what must be kept. Paragraph 2.95 of the Code says the specific ICR data will be discussed with the provider before the requirement is imposed.
Asking is unlikely to get you far. Section 95(2) bars the operator from disclosing the existence or contents of a retention notice, and the exception to note is permission from the Secretary of State.
It helps to keep three questions separate:
- What can a notice require to be retained?
- What does the provider log anyway, for its own purposes?
- Who may later obtain it, and with what authorisation?
This article answers the first. That answer says nothing about the website's own server logs, which may well hold the path and query, or about other powers such as interception warrants. A host name can also be revealing enough: nobody needs the path to draw conclusions from repeated visits to a specialist clinic's domain.