|
|
Log in / Subscribe / Register

A replacement for third-party cookies?

By Jake Edge
May 5, 2021

The era of tracking users all across the web using third-party cookies is coming to a close; that type of cookie is something of a zombie at this point. All of the major browsers, save one, are blocking third-party cookies by default and the holdout, Google Chrome, plans to make that change next year. But Google, which has a business model built around advertising that benefits greatly from the status quo, has offered up an alternative scheme to "replace" third-party cookies. The Federated Learning of Cohorts (FLoC) is an in-browser mechanism to pigeonhole users in a way that will be useful to advertisers, but the only reason the idea has any traction at all is because it is being implemented in Chrome—the dominant browser today.

Background

HTTP cookies are small chunks of data, associated with a particular domain, that can be persistently stored by the browser. Once a site has stored its cookie, subsequent HTTP requests to the site will include the cookie information; the mechanism is used to keep users logged into a site, for example. As the name would imply, third-party cookies come from domains other than the first-party domain that the user visited. They can come from advertisers or social networks with visible content (e.g. ads, "like" buttons) on the visited page, but they also come via "invisible" page elements from tracking companies. Whenever content from those third-party sites is requested from any page, anywhere on the web, the cookie information goes along for the ride—allowing those sites to track users across the web.

Over time, the privacy-invading attributes of third-party cookies have caused users, governments, and browser makers to examine them more closely and to make changes in behavior or laws (e.g. the GDPR) in order to thwart or restrict them. Firefox and Safari have both stopped accepting third-party cookies in the last year or two; other, less popular browsers (generally with a stricter stance on privacy), like Brave and the Tor Browser, were well ahead of the pack in that regard. Google described its plans for moving away from cookie-based tracking for Chrome in 2019 and touted FLoC as a replacement in early 2021. The company said that it planned to start rolling out the feature for some users starting in March.

One of the goals of tracking users is to be able to provide those users with ads that are relevant to them. The creepiness of being tracked all over the web is simply an unpleasant side effect, or so we are led to believe. It is far from clear that being bombarded with ads for things that one had only idly searched for—or had already purchased—is the advertising nirvana that some seem to think that is, but it is certainly popular with advertisers. So Google, which derives a rather large pile of money from advertising, is interested in finding other ways to deliver relevant ads, with less of a creepiness factor, perhaps—enter FLoC.

Cohort derivation

The basic idea is that the browser will locally collect information about the sites that are visited and boil that down into a "cohort" identifier. Based on their browsing history, users would be grouped with others who have similar patterns. Each cohort is meant to represent a few thousand users, though the proof of concept described in a FLoC whitepaper [PDF] does not guarantee that size. There is a balance to be struck in the size of a cohort: if it is too small, it becomes easier to identify its members, but if it is too large, its utility for advertisers diminishes. Without imposing some central authority to merge smaller cohorts (and perhaps split larger ones), there will likely be wide variance in the sizes.

The plan is to reset the cohort ID weekly, so users may well move to different IDs as their interests and activities change over time. The experiment described in the whitepaper used SimHash to calculate the cohort ID based on the sites visited, but there are other ways the IDs could be generated, as an Electronic Frontier Foundation (EFF) blog post critical of FLoC notes. However, there are a lot of details missing, the EFF said:

According to the proposal, most of the specifics are still up in the air. The draft specification states that a user's cohort ID will be available via Javascript, but it's unclear whether there will be any restrictions on who can access it, or whether the ID will be shared in any other ways. FLoC could perform clustering based on URLs or page content instead of domains; it could also use a federated learning-based system (as the name FLoC implies) to generate the groups instead of SimHash. It's also unclear exactly how many possible cohorts there will be. Google's experiment used 8-bit cohort identifiers, meaning that there were only 256 possible cohorts. In practice that number could be much higher; the documentation suggests a 16-bit cohort ID comprising 4 hexadecimal characters.

Advertisers will presumably have some means to derive information about what a particular cohort ID means with respect to a user's interests. For one thing, they can do a lot of testing to determine which IDs are likely to lead to users interested in their wares—or so it is hoped. While FLoC may be an improvement over third-party cookies, it is hardly without privacy and other concerns, as might be guessed.

Concerns

Even if each cohort ID were carefully constructed to ensure that it contained a few thousands users, these IDs will give advertisers that are using browser fingerprinting a leg up in tracking individuals, the EFF pointed out. Instead of needing a fingerprint that is unique among millions of users, they will only need to differentiate among a few thousand users in the cohort.

In addition, many web sites track their users by means of a username or email address that is used to log into the site. Those sites can immediately recognize the cohort of the user, can correlate it with other users of the site with the same ID, and can record changes in the ID over time in order to create a clearer picture of the "type" of person associated with the account. It is likely that certain IDs will track with personal characteristics, like politics, religion, race, sexuality, and more. Meanwhile, presenting your "cohort number" at every site you visit may not be serving you well, as the EFF shows:

You should have a right to present different aspects of your identity in different contexts. If you visit a site for medical information, you might trust it with information about your health, but there's no reason it needs to know what your politics are. Likewise, if you visit a retail website, it shouldn't need to know whether you've recently read up on treatment for depression. FLoC erodes this separation of contexts, and instead presents the same behavioral summary to everyone you interact with.

Another problem with FLoC is that it is opt-out, rather than opt-in, both for users of any browser that implements it (seemingly that will only be Chrome) and for web sites that will be tracked to help calculate the ID. In a post on the blog of the Plausible open-source web-analytics tool, Marko Saric explains how users and sites can opt-out of FLoC.

The easiest way for users to take a pass on FLoC is to simply use a browser other than Chrome; for those who cannot or will not switch, Sarik lists some steps that can be taken to opt-out of FLoC. Sites that do not want to be part of FLoC can use the Permissions-Policy HTTP header to say so:

    Permissions-Policy: interest-cohort=()
Though, as Sarik pointed out, that will not work for everyone:
Many sites using frameworks and content management systems don't even have the option to control this. Opting out of FLoC is not possible for those sites. Frameworks and CMS providers that care about privacy should add this header by default. Google also needs to provide a more straightforward method.

He also noted that Google is not (yet?) testing FLoC in places where the GDPR is operative. The GDPR effectively requires providers to make their privacy-leaking features opt-in, which may be why FLoC is not being tested there. Meanwhile, there are concerns that FLoC is really meant as an anti-competition move in the advertising space:

Google owns the browser with the largest market share and the only major browser that still allows third-party cookies out of the box. Google is also the largest advertising company and the largest seller of online advertising.

Without third-party cookies, Google still gets all the data as they own the platforms while everyone else in the ecosystem only gets the cohorts that Google sends them.

As numerous observers have said, no one should be lamenting the loss of third-party cookies. As the EFF put it, they have been "the lynchpin in a shadowy, seedy, multi-billion dollar advertising-surveillance industry on the Web". But replacing those cookies with something "better" may not be the right way forward. For many, the whole idea behind targeted advertising is wrongheaded and dangerous. Beyond that, the targeted-advertising system that we have today is rife with abuse. As the EFF put it:

The power to target is the power to discriminate. By definition, targeted ads allow advertisers to reach some kinds of people while excluding others. A targeting system may be used to decide who gets to see job postings or loan offers just as easily as it is to advertise shoes.

[...] In a world with FLoC, it may be more difficult to target users directly based on age, gender, or income. But it won't be impossible. Trackers with access to auxiliary information about users will be able to learn what FLoC groupings "mean"—what kinds of people they contain—through observation and experiment. Those who are determined to do so will still be able to discriminate. Moreover, this kind of behavior will be harder for platforms to police than it already is. Advertisers with bad intentions will have plausible deniability—after all, they aren't directly targeting protected categories, they're just reaching people based on behavior. And the whole system will be more opaque to users and regulators.

It would seem that there are myriad reasons to avoid joining the FLoC, but there is a rather large bird in the room that seems to feel differently—at least for now. Google employees tend to be irritated when the company is tagged with the "if you aren't paying for it, you are the product" quote, but internet advertising is a place where that idea resonates pretty strongly for the company. Users are not paying (money) for their browser or for many of the online services they have come to rely on—in return Google is able to make an enormous amount of money on advertising by, in effect, selling information about the habits of those users. It is a lucrative business model, but one that may well not be tenable for the long term. Time will tell.


Index entries for this article
SecurityPrivacy
SecurityWeb browsers


to post comments

A replacement for third-party cookies?

Posted May 5, 2021 22:30 UTC (Wed) by josh (subscriber, #17465) [Link] (12 responses)

The one good thing about FLoC: it may make support for third-party cookies rare/unreliable enough that sites have to function with them blocked by default, so a browser can safely block third-party cookies *and* ignore FLoC, and thus avoid tracking altogether.

A replacement for third-party cookies?

Posted May 5, 2021 23:53 UTC (Wed) by NYKevin (subscriber, #129325) [Link] (11 responses)

I've been browsing with third-party cookies disabled for months and I've hardly had any problems at all. Most sites just don't care if you disable them. For the rare site that does care, Chrome will let you add a one-off exception (and I would expect most other browsers to do so as well). Of course, none of those sites are using FLoC yet, because it hasn't even been released.

Disclaimer: I work for Google; I don't work on FLoC or Chrome, nor on any of the directly-related technologies.

A replacement for third-party cookies?

Posted May 6, 2021 0:25 UTC (Thu) by pabs (subscriber, #43278) [Link] (8 responses)

Most of the web doesn't care if you have first-party cookies disabled (except when you need to login). uMatrix and uBlock Origin will let you enable them for sites that do.

A replacement for third-party cookies?

Posted May 6, 2021 11:15 UTC (Thu) by LtWorf (subscriber, #124958) [Link] (7 responses)

Enjoy the banners "CHOOSE WHICH COOKIES YOU WANT!!!!!"

A replacement for third-party cookies?

Posted May 6, 2021 23:44 UTC (Thu) by pabs (subscriber, #43278) [Link]

Those are usually written in JavaScript or require CSS to display in the visible part of the page, so just block both of those too.

A replacement for third-party cookies?

Posted May 7, 2021 5:25 UTC (Fri) by tajyrink (subscriber, #2750) [Link] (3 responses)

There is 'I don't care about cookies' extension for Firefox. It's not Firefox Recommended, but quite quick to audit and disable automatic updates for (by default I do not trust extensions).

A replacement for third-party cookies?

Posted May 7, 2021 12:31 UTC (Fri) by calumapplepie (guest, #143655) [Link] (2 responses)

uBlock Origin ships with a pretty effective cookie-warning-spotting list: it's disabled by default, but can be enabled with a checkbox.

Sidenote: even extensions that aren't "Firefox recommended" are still fairly secure. Firefox has fairly strict rules as to what is allowed in their platform. Also, to make auditing easier, you only need to look at the manifest.json for allowed remote origins and the content scripts (if any). If the content scripts don't make any requests on their own (communication with the extension itself is OK), and the manifest doesn't permit any sites, the extension is unable to communicate.

A replacement for third-party cookies?

Posted May 9, 2021 15:39 UTC (Sun) by tajyrink (subscriber, #2750) [Link]

Thank you for the auditing tips!

A replacement for third-party cookies?

Posted May 10, 2021 17:59 UTC (Mon) by jwilk (subscriber, #63328) [Link]

If you mean "Fanboy’s Cookiemonster List" then no, uBlock Origin does not ship with it. Yes, there's a checkbox in the UI to enable the list, but if you do, it will be downloaded from a third party site.

A replacement for third-party cookies?

Posted May 7, 2021 7:17 UTC (Fri) by micka (subscriber, #38720) [Link] (1 responses)

I thought I had a solution for the ”tick any subject/partner among those 2000 you don’t want to have your data kept/sent” with private browsing + accept all, but I feel like I’m probably missing something. After all they ate more inventive than I am when thinking about tracking.

A replacement for third-party cookies?

Posted May 7, 2021 7:34 UTC (Fri) by micka (subscriber, #38720) [Link]

OK, my IP...

A replacement for third-party cookies?

Posted May 12, 2021 22:51 UTC (Wed) by ras (subscriber, #33059) [Link] (1 responses)

I've disabled 3rd party cookies for literally years - possibly over a decade. It used to break some things like Discus, but I can't remember it breaking something I cared about.

But now, nothing breaks. As the article says, just about all browsers except Chrome disable them by default. Chrome has about 65% market share, so that means depending on 3rd party cookies will break your thingy for the remaining 35% of internet users. I suspect that's too much to stomach.

Why Google cares enough to develop FLoC is bit a mystery to me. You don't need it if you can convince every originating site include a javascript snippet. From what I can tell there is only one company that has managed to do that - Googles __utXX and _gaXX cookies are near ubiquitous - even lwn.net has them. I would have thought that was a unique competitive edge Google has that FLoC diminishes.

A replacement for third-party cookies?

Posted May 13, 2021 13:01 UTC (Thu) by james (guest, #1325) [Link]

Why Google cares enough to develop FLoC is bit a mystery to me.
Think politics, and the law.

The whole online advertising industry is, at best, skirting the edge of GDPR compliance. This is true however personal data is collected. If Google becomes one of the few companies that can collect data across a wide range of sites (and hence gets a monopoly advantage that European companies don't have), Google has much less political cover against a hard-line interpretation of the GDPR.

I was preparing a much longer version of this comment, explaining how FLoC cohorts might be able to avoid this. But that convinced me that membership of a cohort is, in itself, personal data covered by the GDPR, especially when handled by a company that is capable of linking an IP address to membership of a cohort.

A replacement for third-party cookies?

Posted May 6, 2021 0:22 UTC (Thu) by nickodell (subscriber, #125165) [Link] (3 responses)

>The easiest way for users to take a pass on FLoC is to simply use a browser other than Chrome;

I disagree. The easiest way to opt out of FLoC is to disable third-party cookies. This gives you other privacy benefits, too. Only a small number of sites require third-party cookies to operate. Of the dozens of websites I use, only five require whitelisting third-party cookies.

A replacement for third-party cookies?

Posted May 6, 2021 7:44 UTC (Thu) by stefanha (subscriber, #55072) [Link] (1 responses)

FLoC does not rely on third-party cookies. It is a replacement for them as the article explains.

Therefore disabling third-party cookies as you suggested won't stop FLoC for Chrome users.

A replacement for third-party cookies?

Posted May 7, 2021 3:31 UTC (Fri) by edgewood (subscriber, #1123) [Link]

In the trial running for some users of current Chrome versions, Google turns off the FLoC code if you have third party cookies disabled in your settings.

This has been widely reported. See here for example: "If you want to just stick to Google Chrome’s settings and opt out of the FLoC trial, you can disable third-party cookies in Google Chrome."

A replacement for third-party cookies?

Posted May 6, 2021 9:17 UTC (Thu) by taladar (subscriber, #68407) [Link]

FLoC is not built on top of third party cookies. Disabling them does nothing to prevent participation in FLoC

A replacement for third-party cookies?

Posted May 6, 2021 12:54 UTC (Thu) by karim (subscriber, #114) [Link] (1 responses)

Despite having a usually insatiable appetite for understanding almost anything about computers and wanting to secure my systems in as much as possible, I have to admit that I generally tire of trying to continuously think of how to protect my identity online. Already, I avoid using anything that is backed by a "cloud service" in as much as possible, often thereby closing myself to new "user experiences". Additionally having to worry about a browser that seems to be engineered for voluntarily try to help accumulate more information about me is something I'd rather not have. A few years ago I decided to continue sticking with Firefox despite Chrome's popularity. Reading about this new proposal just reinforces this choice. Especially as this comes on top of what seems to be an intention to getting rid of the navigation bar altogether (I mean, seriously, come again?).

Call this "looking out for my privacy" fatigue.

A replacement for third-party cookies?

Posted May 9, 2021 13:15 UTC (Sun) by clump (subscriber, #27801) [Link]

Please note that Firefox has become much less respectful of privacy over the years. This guide offers some suggestions: https://restoreprivacy.com/firefox-privacy/

It's particularly frustrating that the mobile version of Firefox removed "about:config'. Many of the suggestions above will not work.

A replacement for third-party cookies?

Posted May 6, 2021 16:13 UTC (Thu) by davecb (subscriber, #1574) [Link] (3 responses)

I think Google started off in a plausible direction, but then headed down a blind alley.

I can see cohorts being useful, but only if they each describe a single thing. As a customer, I'd like to belong to the set of people who "just bought a new car". That way when I buy a new Honda, I won't get lambasted with thousands of ads urging me to ... buy a new Honda!

I will get ads for roof-racks and trailer-hitches, but I can use those.

Google needs to go through the list of interests they get from advertisers, remove the ones like "recently pregnant" and "gay in a country that murders them" and restart their project from the beginning, with a whole different set of flocks, each of a different set of birds.

A replacement for third-party cookies?

Posted May 6, 2021 18:50 UTC (Thu) by felixfix (subscriber, #242) [Link] (2 responses)

Like TFA says, all these tracking mechanisms, including cohorts, can also be used to discriminate in ways you might not like. Even getting away from the more paranoid possibilities, suppose a bank offers you a higher rate because it sees you just bought a new Honda and might be in a spendy mood. Or the opposite: they don't make any offer, because they think you will be reluctant to borrow any more money, for a house, for instance.

A replacement for third-party cookies?

Posted May 7, 2021 1:31 UTC (Fri) by davecb (subscriber, #1574) [Link] (1 responses)

Fair point: is I take an action "in public", others will respond to it. What is different from my childhood is just how very public formerly intimate actions now seem to be...


A replacement for third-party cookies?

Posted May 7, 2021 2:26 UTC (Fri) by felixfix (subscriber, #242) [Link]

It's a creepy kind of global small town. Small towns are notorious for gossip and everybody knowing what everybody else is doing. There are no secrets. It's one thing for everything we post to be visible around the world, but in this global small town, self-appointed gossip-mongers are the only ones who know everything, and that's what makes it really creepy, as if only the barber and postmaster know everything.

When everybody knows everything, the creepiness is spread out and you don't feel like a pawn.

A replacement for third-party cookies?

Posted May 6, 2021 23:18 UTC (Thu) by flussence (guest, #85566) [Link] (2 responses)

And we're fully back to the IE6 days. Which means I'll go back to putting go-slow code and banner ads for Firefox in any websites I make when Chrome is detected.

A replacement for third-party cookies?

Posted May 7, 2021 12:50 UTC (Fri) by rrdharan (subscriber, #41452) [Link] (1 responses)

Banner ads make total sense. Deliberately slow code seems needlessly user-hostile. Many users don’t have a choice (e.g. enterprise managed desktop) of which browser they use. Doesn’t mean you have to actively support them but actively harming them seems unnecessary.

A replacement for third-party cookies?

Posted May 8, 2021 13:47 UTC (Sat) by flussence (guest, #85566) [Link]

Actively harming them would mean serving up 403s or other outright denials of service :-)

And while that'd take much less effort than slowing pages down barely enough to be perceptible, it wouldn't be nearly as persuasive.

A replacement for third-party cookies?

Posted May 10, 2021 5:56 UTC (Mon) by Seirdy (guest, #137326) [Link]

Before you add the permissions-policy header to your site, you should understand what the opt-out is and is not actually useful for: https://seirdy.one/2021/04/16/permissions-policy-floc-mis...

If you don't load random malicious tracking scripts, this header won't impact privacy on your own site since your own site isn't using FLoC.

Excluding your site from cohort calculation has a chance to place a user in a different cohort, altering a user’s fingerprint. This new fingerprint may or may not have more entropy than the one derived without being excluded. Excluding some portion of sites from a user’s cohort calculation doesn’t necessarily make a user less unique if a nontrivial number of sites doesn’t opt out.

Given this marginal improvement, I don’t think it’s right to place a burden or blame on webmasters when the burden and blame should rightfully be directed at those responsible for rolling this antifeature out in Chromium. We shouldn’t expect webmasters to add a tag or header every time Google advances the war against its own users.


Copyright © 2021, Eklektix, Inc.
This article may be redistributed under the terms of the Creative Commons CC BY-SA 4.0 license
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds