10

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
1
  • 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. Nov 30, 2016 at 12:38

2 Answers 2

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

5

For me, the section "Sites that can always use cookies" worked:

enter image description here

I enabled the checkbox "All cookies, on this site only".

3
  • This is the right answer. Thanks :-)
    – noob
    Nov 10, 2021 at 13:53
  • How do I do this with group policy? Google says to use this, but it doesn't do anything useful admx.help/… Aug 14, 2023 at 18:18
  • @Arrow_Raider sorry, I don't know.
    – A. Donda
    Aug 15, 2023 at 19:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .