Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discussion: Full Third-Party Cookie Blocking #516

Closed
ghost opened this issue Mar 25, 2020 · 7 comments
Closed

Discussion: Full Third-Party Cookie Blocking #516

ghost opened this issue Mar 25, 2020 · 7 comments

Comments

@ghost
Copy link

@ghost ghost commented Mar 25, 2020

Description

Apple's Safari has started to fully block third party cookies by default. It is funny because Cliqz did this years ago with their products and called this "a simple approach". Now I don't know how much it will take Firefox or others to follow up but Safari doing it should be able to force the majority of websites to become compatible with the update.

As Firefox already blocks a big chunk of third party cookies, maybe Ghostery should be the extension to take it one step further and implement this as anyone who installs an extension to further their privacy should expect this kind of protection. Or maybe, waiting for other browsers to take action would be the better thing to do as then you wouldn't have to modify your code for anti-tracking multiple times. What do you think?

Edit: I've seen the recent update to the browser-core which makes cookie blocking more aggressive. IMO fully blocking them should still be discussed.

@sammacbeth
Copy link
Contributor

@sammacbeth sammacbeth commented Mar 25, 2020

Switching Ghostery to full 3rd party cookie blocking (with some compatibility exceptions) is simple - there is a config option in enhance anti-tracking to do this. I'm not sure we'd be able to turn this on for all users at present because of the amount of sites it breaks. Hopefully Safari's changes will help improve this situation though. We cloud look at exposing this as a setting for users who want that extra protection though (cc @christophertino).

Note, however, that Ghostery cookie blocking is limited to HTTP cookies. At the moment we do not block cookies created from DOM APIs (i.e. document.cookie). This is because webextension API limitations make it difficult to do this properly while including other Ghostery features such as per site and per tracker whitelisting. Upcoming changes to extension APIs in chrome may also make what we do at present no longer possible there.

All browsers do support native 3rd party cookie blocking though, which will block the DOM cookie API, and also localStorage and indexedDB in 3rd party contexts. This is however at the cost of being able to whitelist specific sites, or benefit from the compatibility rules and heuristics we use in Cliqz and Ghostery to prevent things like OAuth logins and Office365 from breaking.

@ghost
Copy link
Author

@ghost ghost commented Mar 25, 2020

@sammacbeth Thanks for the response,
After Safari's strict change I wonder what Office 365 and others will do. You are probably right saying you should wait and see how it plays out long-term.

For Ghostery, honestly, I didn't know how these settings would affect other modules. Even though I would love to see it become the extension version of Cliqz Browser, not being able to fully achieve that was the reason why you started building your own browser. As long as it strips out PII from third-party requests with anti-tracking, I'm fine with it giving compromises.

@ghost
Copy link
Author

@ghost ghost commented Mar 26, 2020

@sammacbeth Quick question then, if I set Firefox to block third party cookies, will that affect Ghostery's heuristics for anti-tracking? (Not talking about cookie blocking obviously but the PII removal.)

@sammacbeth
Copy link
Contributor

@sammacbeth sammacbeth commented Mar 26, 2020

@sammacbeth Quick question then, if I set Firefox to block third party cookies, will that affect Ghostery's heuristics for anti-tracking? (Not talking about cookie blocking obviously but the PII removal.)

No. The unsafe data removal system runs irrespective of cookie setting.

@ghost
Copy link
Author

@ghost ghost commented Mar 27, 2020

Hey @sammacbeth, I did set Firefox to block all third party cookies which also broke Ghostery's login functions in the sense that it logged me out from the extension and even if I log in it instantly logs out. You think this is fixable?

@christophertino
Copy link
Member

@christophertino christophertino commented Mar 27, 2020

You'll need to set an exception in FF to fix this. From about:preferences#privacy > Cookies & Site Data > Manage Exceptions > Manage Permissions > Add an "Allow" exception for https://consumerapi.ghostery.com

@ghost
Copy link
Author

@ghost ghost commented Mar 31, 2020

Thanks for your help. Closing the issue for now then. If someone’s gonna take this step, it should be the browsers anyway.

@ghost ghost closed this Mar 31, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants