Enable third-party cookies and site data for certain domains

6

4

I want example.com to be able to write and read third-party cookies and site data but no other domain may access any other domain's cookies and site data. It is only possible to globally enable/disable third-party cookies and site data.

Chrome's Cookies Settings

Ideally, I can even fine-tune access as in:

  • example.com may access cookies and data of web.example.com
  • example.com may access cookies of elpmaxe.com
  • all other third-party access is blocked

Is there an extension that supports this? How to configure it? Open source preferred.

An incomplete workaround is to have a Chrome profile in which you:

  • enable third party cookies and site data
  • only visit example.com and the websites, of which it should be able to access their data
  • accept that the other website will be able to read example.com's cookies and data

qubodup

Posted 2016-05-20T10:59:35.223

Reputation: 3 736

I too would love to know how to accomplish this. JIRA includes a side thing that connects to Harvest for logging time against issues, but that code uses a "third-party cookie". I definitely don't want to allow all third-party cookies access, only that one. – Henry Blyth – 2016-11-30T12:38:13.797

Answers

2

You can do that easily with uMatrix.

This free and open-source browser extension is available:

Example: Check the "Cookie" column on this following screenshot.

  • Green color = cookie authorized
  • Red color = cookie blocked

umatrix panel

Jerry

Posted 2016-05-20T10:59:35.223

Reputation: 161