News for hackers. Stuff that matters.
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by jerf on Wednesday June 21, 2023 @09:55AM (#36418503)
Cookies was a simple concept that politicians could glom on to and legislate around, but, yes, they're quite unimportant in the grand scale of things.

In the end, you've got two things to work with: Things you can convince the browser to actively identify itself with, and the things you can track regardless.

Cookies are in the first category, but they are not alone. You can get things as simple as presenting an entire site with customized URLs that track a user through querystrings being appended to everything with an identifier. You can track certain caching differences. You can program a website to use local storage and submit a token on every URL click with a fairly simple handler. This isn't even remotely a complete list.

In the second category, you've got IP address, browser versions, various settings... see something like https://www.amiunique.org/ .

In a nutshell, your rich browser experience leaks so much data along so many axes that it is essentially inconceivable that you could ever prevent yourself from being fingerprinted. What you can do is try to detach that fingerprint from a real person, to a certain extent rotate what you can, etc. But in reality you can't be shipping up kilobytes of header information on each web request and expect there isn't something in there that can track you.

https://www.amiunique.org/fingerprint says I'm 100% unique; with all the red lighting up I'm not surprised.

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by mnw21cam on Wednesday June 21, 2023 @10:06AM (#36418621)
The important bit is that the cookies not only are irrelevant from the point of view of allowing tracking to occur technically, they're also irrelevant from a legal point of view. A company must have your consent to hold and process your information for a specific purpose, regardless of whether or not that is done using cookies or fingerprinting. If you have been presented with a consent popup and have not consented, and the company is tracking you by other methods, then that is illegal. (It'd be illegal also if they hadn't given a consent popup at all.)
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by misja111 on Wednesday June 21, 2023 @10:18AM (#36418761)
Under which law is this illegal? I'm only aware of legislation that forces websites to ask for consent for storing cookies.
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by Yujf on Wednesday June 21, 2023 @10:20AM (#36418795)
GDPR
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by robin_reala on Wednesday June 21, 2023 @11:27AM (#36419770)
The ePrivacy Directive (collaqually Cookie Law) doesn’t actual specify only cookies. Section 66 of https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CEL... just talks about third parties storing information on equipment:

Third parties may wish to store information on the equipment of a user, or gain access to information already stored, for a number of purposes, ranging from the legitimate (such as certain types of cookies) to those involving unwarranted intrusion into the private sphere (such as spyware or viruses). It is therefore of paramount importance that users be provided with clear and comprehensive information when engaging in any activity which could result in such storage or gaining of access. The methods of providing information and offering the right to refuse should be as user-friendly as possible. Exceptions to the obligation to provide information and offer the right to refuse should be limited to those situations where the technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user. Where it is technically possible and effective, in accordance with the relevant provisions of Directive 95/46/EC, the user’s consent to processing may be expressed by using the appropriate settings of a browser or other application. The enforcement of these requirements should be made more effective by way of enhanced powers granted to the relevant national authorities.

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by Thorrez on Wednesday June 21, 2023 @12:10PM (#36420386)
That sounds like it applies to cookies and local storage, not all tracking. It doesn't sound like it applies to IP-based or device fingerprint-based tracking.
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by cccbbbaaa on Wednesday June 21, 2023 @12:17PM (#36420479)
If you are able to identify a unique user from its browser fingerprint, then it's personal data: GDPR applies. And for ad purposes, consent is pretty much required.
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by Thorrez on Thursday June 22, 2023 @02:13AM (#36428556)
Yes GDPR applies, but the part that I was replying to doesn't.
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by pph on Wednesday June 21, 2023 @01:48PM (#36421887)
It's two different directives:

- ePrivacy Directive which is about local storage

- GDPR which is about information processing

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by dmattia on Wednesday June 21, 2023 @10:51AM (#36419227)
This is a critical thing that so many miss. If somebody has a website that doesn't use any cookies, but does send a POST request to www.bigcompanyanalytics.com/send-user-info with a body containing user-identifying information, then that is still illegal if the user has not consented to analytics (if they are in an area that requires opt-in for analytics).

Cookies aren't really mentioned in GDPR or other privacy laws, folks just latched onto cookies as one area that can track users. But really, all personal data is subject to most of the privacy laws, including outbound requests as well as stored data.

IANAL. But for context from lawyers, see: https://ico.org.uk/for-organisations/direct-marketing-and-el...

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by derefr on Wednesday June 21, 2023 @02:47PM (#36422629)
How does that work given that web servers have request logs that capture some identifying info? You already know some things about the user before you can even serve them the consent popup.
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by kzzzznot on Wednesday June 21, 2023 @04:34PM (#36424017)
I’m not an expert on this, but perhaps it’s the usage of that data and linking to a person that crosses the line.

A web server’s logs may include the IP and http request they’ve made, but once you start attaching that to an identity instead it might count as data processing.

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by cccbbbaaa on Thursday June 22, 2023 @05:29AM (#36429761)
Storing counts as processing under the GDPR; the definition is in article 4. It's not hard to find.

> ‘processing’ means any operation or set of operations which is performed on personal data or on sets of personal data, whether or not by automated means, such as collection, recording, organisation, structuring, storage, adaptation or alteration, retrieval, consultation, use, disclosure by transmission, dissemination or otherwise making available, alignment or combination, restriction, erasure or destruction;

https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CEL...

One can use the “legitimate interest” basis (recital 49 may be relevant here) or “compliance with a legal obligation” for logging.

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by kzzzznot on Sunday June 25, 2023 @03:48AM (#36465878)
Does an IP alongside a HTTP request count as personal data?
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by cccbbbaaa on Monday June 26, 2023 @01:20PM (#36482779)
An IP alone is personal data. Recital 30 should be enough, but it has been asserted time and time again by DPAs and courts. See also: https://commission.europa.eu/law/law-topic/data-protection/r...
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by cccbbbaaa on Thursday June 22, 2023 @02:10AM (#36428532)
Logs are acceptable under the “legitimate interest” basis if you need them to secure your service (GDPR recital 49 and https://www.cnil.fr/sites/default/files/atoms/files/recomman...). In some countries, you may have to retain them for some time: “legal requirement” is applicable here.
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by comfypotato on Wednesday June 21, 2023 @10:25AM (#36418842)
I’ve been on a team doing fingerprinting research (specifically entropy sources). It’s amusing that you’re 100% unique and browsing HN commenting about fingerprinting. (You’re exactly a demographic that would be unique.) Most people aren’t unique, far from it. Consider iPhone 14 Pro Max users browsing through a 5G connection. All the users in the same cell look exactly the same.

If I had to guess, based on what I know about you (what I mentioned in the previous paragraph), I would guess that you built your own computer. This almost guarantees a unique fingerprint.

With the deprecation of 3rd party cookies, we will definitely see an increase in fingerprint-based tracking. That being said, it’s going to look different than unique cookies (and it doesn’t explain OP’s situation.

(Or it might actually be that simple. Your fingerprint might be unique between IP re-addressing, and that’s all it is.)

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by jerf on Wednesday June 21, 2023 @10:39AM (#36419035)
I'm on Linux in Brave, so in general that I'm unique didn't surprise me. As you say, that part is expected. Stock Dell laptop, though.

Quite a lot of the specific details did surprise me though, to the point of wondering if there's a bug somewhere in their code determining percentages. "Audio context": "sampleRate : 44100, state : suspended" 0.05%? Gyroscope is a green check (I don't even 100% know what that means) and that's 0.13%? "Battery": "charging : true, chargingTime : 0, level : 1", 0.08%? (And is that even useful for fingerprinting over any significant period of time anyhow?)

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by iudqnolq on Wednesday June 21, 2023 @11:52AM (#36420146)
I suspect their database is very small and doesn't include many normal people. I also think they aren't taking into account the dimension of time: they say that the latest version of chrome is unusual.
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by AmericanChopper on Wednesday June 21, 2023 @10:56AM (#36419295)
I’m pretty skeptical of this of this fingerprint test. I’m on a 5G connection, in a major city with a completely default current gen iPhone, and it seems to think I’m 100% unique. Which I don’t believe for a second.
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by driscoll42 on Wednesday June 21, 2023 @11:30AM (#36419817)
There's only 1.9 million samples in their database, and to be fair, the people who go to that site to test their fingerprint, are probably the kind of user who is going to have a unique fingerprint, notsomuch a common user. So a common user going there is likely a bit unique.
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by archiewood on Wednesday June 21, 2023 @02:37PM (#36422502)
Im in Firefox and it tells me 43% of the fingerprints are Firefox.

So seems very skewed!

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by comfypotato on Wednesday June 21, 2023 @05:36PM (#36424985)
I responded to a similar comment at https://news.ycombinator.com/item?id=36424919
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by nerdbert on Wednesday June 21, 2023 @10:58AM (#36419321)
I tried the amiunique fingerprinter with my iPhone, software updated to the latest version, stock Safari browser, and it said I was unique among all however many users had tried before.
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by comfypotato on Wednesday June 21, 2023 @05:32PM (#36424919)
If I remember correctly, that site was actually used to publish an early paper about fingerprinting. Their database is simply people who visit their site. You probably are unique among people who have visited! I doubt it sees much traffic anymore. This would explain the parent being unique also now that I think of it.

There are a few studies that used sites like that and got lots of traffic (by advertising on sites like HN) from non-normal users.

There was a landmark study done in France that measured fingerprints through a government website. The general population was much less unique.

Edit: found the AmIUnique paper: https://scholar.google.com/scholar_lookup?journal=Proceeding...

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by gcoakes on Wednesday June 21, 2023 @10:15AM (#36418734)
My favorite thing from that uniqueness website is that it shows cookies enabled as more common and thus more anonymizing. Not that they wouldn't just fingerprint you using those cookies if it was enabled.

The other interesting thing is that it lists my plugins and "do not track" settings. They are both fairly unique. So, someone who attempts to anonimize themselves using plugins or browser features are just highlighting themselves.

I wonder how unique `wget` would be.

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by digging on Wednesday June 21, 2023 @10:39AM (#36419027)
Yes, I reduced my plugins count in firefox to slightly decrease my uniqueness. piling on additional tracking prevention addons means getting tracked more.
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by 2ICofafireteam on Wednesday June 21, 2023 @11:43AM (#36420022)
The absence of things can be as profound as their presence.
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by code_duck on Wednesday June 21, 2023 @11:53AM (#36420152)
Simply using Firefox is a problem in that regard. I think most recent number I saw for Firefox usage was 1%.
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by digging on Wednesday June 21, 2023 @12:15PM (#36420448)
Yes, that's true. I think Firefox now tries to hide itself by sending a false user agent? Everything is a trade-off though... using a version of firefox that's closer to stock is probably helping a tiny bit. Or maybe it's not, since Firefox wants people to use plugins (and for some reason, doesn't warn of the dingerprinting danger).
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by code_duck on Thursday June 22, 2023 @06:23PM (#36439976)
Mine currently says Firefox in it. You can override it without a plugin in the about:config setting general.useragent.override.

I would expect that any reasonably sophisticated fingerprinting system would not rely primarily on the useragent, and agree that anything that isn't stock only serves to distinguish you further.

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by adrian_b on Wednesday June 21, 2023 @11:45AM (#36420046)
I have also looked there and what makes me unique is that nobody else has the same list of installed fonts, which is not a surprise for me, because I have bought several commercial high-quality typefaces, while most people have only the fonts installed by the operating system and by popular office suites.

Besides the fonts, only 3% of the people recorded in their database have their monitors configured for 30-bit color.

Therefore it appears that taking good care of my eyes makes me easily identifiable, but there is no workaround for this, except for running the browser in a VM, where the characteristics of the hardware and whatever else is installed could be well hidden.

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by jspiral on Wednesday June 21, 2023 @12:25PM (#36420600)
or starting a campaign to convince others to adopt your ways!
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by iudqnolq on Wednesday June 21, 2023 @11:51AM (#36420118)
Have you tried Firefox's resistFingerprinting abou:config flag? I don't know if they've implemented those but technically speaking I don't think a vm is necessary.
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by adrian_b on Wednesday June 21, 2023 @12:36PM (#36420795)
I have tried that right now, in Firefox 102.12.

It hides the fact that I have a 30-bit monitor by pretending that it is a 24-bit monitor, but the list of available fonts remains visible, so I can still be uniquely identified.

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by iudqnolq on Wednesday June 21, 2023 @12:40PM (#36420884)
Looks like there's a separate pref for fonts: https://news.ycombinator.com/item?id=31544902
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by gorbachev on Wednesday June 21, 2023 @11:53AM (#36420168)
My most unique settings were:

list of fonts list of plugins media devices (the combo of webcams and microphones my work computer uses)

Great site for understanding what your browser tells about who you are.

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by leonidasv on Wednesday June 21, 2023 @10:10AM (#36418669)
> You can program a website to use local storage and submit a token on every URL click with a fairly simple handler

That still falls into the EU Cookie definition in the law. [0] If a website is doing this regardless of the user choosing not to allow cookies, it's committing a violation in the eyes of the law (in the EU at least).

[0] https://softwareengineering.stackexchange.com/a/295212

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by IanCal on Wednesday June 21, 2023 @10:24AM (#36418836)
> Cookies was a simple concept that politicians could glom on to and legislate around, but, yes, they're quite unimportant in the grand scale of things.

GDPR absolutely does not rely on specific implementations. Even earlier things I'm pretty sure don't, but GDPR has a much more general coverage. It's extremely important people understand this when they're writing software.

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by cccbbbaaa on Wednesday June 21, 2023 @12:05PM (#36420334)
Correct; the actual “cookie law” (ePrivacy 2002/58/CE) talks about “the use of electronic communications networks to store information or to gain access to information stored in the terminal equipment of a subscriber or user”. https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CEL...

So local storage is also covered by this law. For other fingerprinting techniques, if you can identify a user, GDPR applies. And for ad purposes, the only realistic legal basis is consent.

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by BiteCode_dev on Wednesday June 21, 2023 @11:35AM (#36419888)
GPRD doesn't target just cookies, but tracking in general, which must be known and consented.

So basically what OP says is that most sites are just not following the European laws.

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by mort96 on Wednesday June 21, 2023 @11:38AM (#36419939)
Thank you! I find people repeating the "GDPR is stupid because there are other ways to track than using cookies" thing all the time and it's so frustrating. Misinformed comments like that usually end up at the very top of discussions like this.
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by axus on Wednesday June 21, 2023 @01:12PM (#36421372)
It's hard to convince someone when their livelihood depends on not understanding.
Re:Ask HN: Refusing all cookies, still targeted by ads. How? by shmapf on Wednesday June 21, 2023 @02:19PM (#36422226)
Looking through that site, one of the things used to identify you is the value of the "do not track" header...

So the existence of that header actually makes tracking worse on the web

Re:Ask HN: Refusing all cookies, still targeted by ads. How? by tinus_hn on Wednesday June 21, 2023 @03:27PM (#36423158)
If a website uses local storage and submits tokens somewhere, the ad network only knows what a user does on that site, not all over the internet and it doesn’t know it’s you when it’s time to pick an ad.