Replies: 2 comments 2 replies
|
Just came here to say that the content issue with the longest time of no activity, mdn/content#12205, is about tracking protection being entirely out of date. No one seems to be taking care of it. |
|
Hi, feel free to ask follow-up questions. I'll try to answer the questions you've laid out in this post:
We stopped doing this. With State Partitioning (including TCP) we consider this not worth doing considering the breakage. We've unshiped tracker cookie blocking: Bug 1918342 - Flip the pref to stop blocking third-party tracker cookies.
Yes, seems like they are the same: https://hacks.mozilla.org/2021/02/introducing-state-partitioning/. Although the name TCP focuses more on the cookie part (which is Firefox specific) and less on the static partitioning part (which is shared across browsers), such as network cache partitioning, network connection partitioning, see first section of https://privacytests.org/ for comparison (sorry don't have a better one).
They are different things (as far as I can tell). (Firefox) Tracking Protection is one part of Enhance Tracking Protection. It is the part which blocks third party requests when they appear on our tracking lists. This is why I would prefer to call it Tracker Blocking. The Enhanced Tracking Protection (ETP) also includes other prefs/features related to privacy: The page https://firefox-source-docs.mozilla.org/toolkit/components/antitracking/anti-tracking/etp-matrix/ covers the various prefs (including TCP:
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm working on updating the documentation under https://developer.mozilla.org/en-US/docs/Web/Privacy relating to tracking. As part of this I am trying to understand the documentation on the tracking protections built into Firefox. There are 5 articles in total. I'm only going to cover three of them here, but might need to come back for the others.
The three articles are:
First I'm going to try to summarise the articles as I understand them. Then I'm going to have some questions.
The articles
Storage Access Policy (SAP)
(https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Storage_Access_Policy)
This describes a Firefox feature which prevents third-party resources that have been identified as trackers from accessing site storage (including but not limited to cookies).
It uses the Disconnect list to see if a resource is a tracker (by its URL).
If the resource is a tracker, and it was loaded in a third party context, then the resource can't access storage (cookies, localStorage, etc).
Note that for the restriction to apply, the resource must be loaded in a third-party context (e.g. an iframe). If a third-party script is loaded into the main document context, it's not restricted.
Additionally, the restriction is sometimes lifted, based on some criteria (essentially related to user interaction).
State Partitioning (SP)
(https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/State_Partitioning)
(AKA Total Cookie Protection?)
This describes a Firefox feature in which third-party cookies (and other client-site storage APIs) are "double-keyed", by the third-party origin and the top-level site. So if top-level site A embeds an iframe with content from T, and top-level site B also embeds an iframe with content from T, then these are treated as distinct storage containers - code in T(A) can't access cookies that were set in T(B), and vice versa. So T can't correlate between A and B.
This applies to all third-party cookies, not just trackers.
Again, unpartitioned access is sometimes allowed, based on some user-interaction criteria. Also, a resource can ask for unpartitioned access using
document.requestStorageAccess().Firefox tracking protection (FTP)
(https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Firefox_tracking_protection)
(AKA Enhanced Tracking Protection?)
...so in PB mode only, if a resource is identified (by URL) as a tracker, Firefox will block it
Unlike SAP, this also blocks resources loaded into the top-level document, and unlike SAP, this blocks the resource from loading totally, not just from accessing storage.
...the article does not say how Firefox determines this, but a Sumo article suggests that it is the same Disconnect list .
This article spends a lot of time on out of date Firefox screenshots.
It only talks about the protection applying in PB windows, but one of the screenshots of the Firefox preferences indicates that this is only for the default "Standard" FTP, and the "Strict" one blocks trackers in all windows. However, the current Firefox preferences doesn't say anything about PB windows, it just talks in vague terms about "Standard" being "Strong, reliable protections that work smoothly with most web sites." and "Strict" being "Stronger protections that block more trackers, but may cause some sites to break.". So I'm not sure if this is still the truth??
Questions
First, I suppose: have I understood these features correctly? Second, what's the relationship between them? Are they all shipping together?
There are some weird bits, like the SP article has a section on Past approaches to blocking cross-site tracking that seems to indicate that SAP is a "past approach", does this mean it is no longer current? Similarly, the intro to the SAP article says that SAP is "designed as an alternative to the older cookie policies, which have been available in Firefox for many years" - does that mean it is a replacement for FTP?
It's also odd because all the articles sort of refer to the thing they're doing as "tracking protection". For example, the FTP article is called "Tracking protection" but the SAP article has its own section called Tracking protection explained that doesn't acknowledge the FTP article at all.
So what's the story? Are these three features all shipping together in Firefox, and do they - together - constitute "tracking protection"? If so, should we try to integrate them?
All reactions