privacytools / privacytools.io

🛡🛠 You are being watched. Protect your privacy against global mass surveillance.
https://www.privacyguides.org
Creative Commons Zero v1.0 Universal
3.12k stars 385 forks source link

🌐 Website Issue | Firefox about:config network.cookie.cookieBehavior #1704

Open zer0byt opened 4 years ago

zer0byt commented 4 years ago

Description

In the new versions of Firefox, there are five options to manage cookies. The website explains just three of them (number 0 to number 2).

The two other options are:

Screenshots

Screen Shot 2020-02-12 at 9 53 26 AM
Mikaela commented 4 years ago

Do you have a source for 3? It seems to be wrong according to Mozilla developer documentation;

0 = accept all cookies by default 1 = only accept from the originating site (block third party cookies) 2 = block all cookies by default 3 = use p3p settings (note: this is only applicable to older Mozilla Suite and Seamonkey versions.) 4 = Storage access policy: Block cookies from trackers

I don't know what p3p settings are apparently for protocol obsolete for around 18 years, but I understand it to not apply to Firefox and 4 seems experimental and possibly shouldn't be recommended yet?

CC: @Thorin-Oakenpants

zer0byt commented 4 years ago

Do you have a source for 3? It seems to be wrong according to Mozilla developer documentation;

In the browser's privacy preferences, there are four options. From the list, select "Cookies from unvisited websites" then go to network.cookie.cookieBehavior in the about:config and check the value. It's 3. (Checked on Firefox v73.0)

Screen Shot 2020-02-12 at 5 17 22 PM Screen Shot 2020-02-12 at 5 25 01 PM
Thorin-Oakenpants commented 4 years ago

^^ these are the actual words used in the UI

I'm not (edit, left out the word not :facepalm: ) sure how much you should trust that MDN page, even if it was last updated Feb 7th 2020. e.g

Up to you guys what you want to do: no-one is saying you have to list all the values, and value 3 is a waste of time IMO and will just confuse people. I wouldn't be surprised if it got removed and I can't see the point in such a setting TBH.

Thorin-Oakenpants commented 4 years ago

PS: this (cleaning up descriptions etc) is already slated as part of #1430 which is now been sitting waiting for some action for 3 and a half months - rather than ping me (edit: for things already on PTIO's webpage), how about getting #1430 under way .. just saying /sorry-for-being-grumpy :)

blacklight447 commented 4 years ago

Hey there! It true, the issue has been hanging around for a while, but its the next thing on my list to work on after im done writing our new COI and whistleblower policies :)!

Thorin-Oakenpants commented 4 years ago

and 4 seems experimental and possibly shouldn't be recommended yet

heh. it's the default :)

Mikaela commented 4 years ago

For future reference, what is a source for documentation about these flags that can be trusted? :confused:

Thorin-Oakenpants commented 4 years ago

^^ the source code

dngray commented 3 years ago

and 4 seems experimental and possibly shouldn't be recommended yet

heh. it's the default :)

That's still the case in 81.0.1.

Up to you guys what you want to do: no-one is saying you have to list all the values, and value 3 is a waste of time IMO and will just confuse people. I wouldn't be surprised if it got removed and I can't see the point in such a setting TBH.

I think we might fix this by removing the recommendation. We could put a suggestion, there for option 1 (with a warning), but that's really going to be the only useful option, imho

paulo-erichsen commented 3 years ago

note that since firefox 86, we can also set network.cookie.cookieBehavior to 5

To disable dynamic storage partitioning for all sites you can use the network.cookie.cookieBehavior pref: 5 | Reject (known) trackers and partition third-party storage. 4 | Only reject trackers (Storage partitioning disabled). 0 | Allow all

it would be great if we could get some some direction on whether it is better to set this setting to 5 or 1

rusty-snake commented 3 years ago

If you have FPI enabled 1 is better (5 will be downgraded to 4 AFAIK). If you don't use FPI 5 (TCP/dFPI) is better otherwise you would have no isolation.