EthicalSource / ethicalsource.dev

Home of the Organization for Ethical Source
https://ethicalsource.dev
Other
141 stars 40 forks source link

Opt out of Federated Learning of Cohorts #99

Closed klaude closed 3 years ago

klaude commented 3 years ago

Add the Permissions-Policy: interest-cohort=() HTTP response header to opt out of participation in Google FLoC on ethicalsource.dev.

FLoC compromises user privacy. See the EFF's writeup for more details.

klaude commented 3 years ago

Apologies for the commit spam. It took a little bit to remember hugo and Netlify. The response header's being set now:

$ curl -I https://deploy-preview-99--ethicalsource.netlify.app/
HTTP/2 200
cache-control: public, max-age=0, must-revalidate
content-length: 0
content-type: text/html; charset=UTF-8
date: Sun, 02 May 2021 02:40:46 GMT
etag: "7ba36b28a8136403236043e512f0f995-ssl"
permissions-policy: interest-cohort=() <---------- Here it is!
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-language:
server: Netlify
x-nf-request-id: c9ba17d0-7466-4a00-a74e-74b2f7b047b2
age: 2
x-country: US
x-robots-tag: noindex
CoralineAda commented 3 years ago

Thank you for this!