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

Block Federated Learning of Cohorts (FLoC) #27192

Closed
wants to merge 1 commit into from
Closed

Conversation

solracsf
Copy link
Member

A new technology is currently being rolled out to browsers to replace third party tracking cookies.
This technology is named Federated Learning of Cohorts (FLoC) and you can read more about it here and here.

A new technology is currently being rolled out to browsers to replace third party tracking cookies.
This technology is named Federated Learning of Cohorts (FLoC) and you can read more about it here and here.
@artonge
Copy link
Contributor

artonge commented May 31, 2021

If we merge this, we should maybe add some configuration for Nginx too.

@@ -35,6 +35,9 @@
Header onsuccess unset X-XSS-Protection
Header always set X-XSS-Protection "1; mode=block"

Header onsuccess unset Permissions-Policy
Header always set Permissions-Policy "interest-cohort=()"
Copy link
Member

@MichaIng MichaIng Jun 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this header is set script-wise already. Currently the deprecated Feature-Policy but that is about to be changed: #23825

So this causes issues with doubled headers, or it is script-internally overridden. So this instead needs to be applied script-wise, similar to CSP. What instead would make sense, is to unset both, Permissions-Policy and CSP "onsuccess" and "always", so that it is assured that those are set only by Nextcloud (script-internally). The modHeadersAvailable variable only controls X-* headers and Referrer-Policy, so those can be set webserver-side.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, and there is an ongoing discussion about the interest of setting this up or not. Let's close the debate first before setting this up. #26539

@solracsf solracsf closed this Jun 6, 2021
@solracsf solracsf deleted the block-FLoC branch June 6, 2021 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants