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

Add browsing-topics to Permissions-Policy header #323

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

dmarti
Copy link
Contributor

@dmarti dmarti commented Nov 23, 2022

Google is currently testing "Topics API," a new proposal for transferring user interests among sites, currently up to about 5% of Google Chrome users ( https://groups.google.com/a/chromium.org/g/blink-dev/c/Vi-Rj37aZLs/m/wzeBWfxxEgAJ )

This may be appropriate for some ad-supported sites, or sites that run landing pages for ads, but can present risks to users in other contexts. Probably safest to set this header to opt out and then let the site administrator change it if they want to use "Topics API" and understand the compliance and security consequences.

There is an existing opt-out for WordPress that does both this and the earlier FLoC system: https://roytanck.com/2021/04/15/opt-out-of-floc-on-your-wordpress-website/

@LeoColomb LeoColomb changed the title Add "browsing-topics" to Permissions-Policy header Add browsing-topics to Permissions-Policy header Nov 23, 2022
@LeoColomb
Copy link
Member

Thanks for opening this PR @dmarti.
That being said, the fact that Topics API are still an experiment and might not come to production (and follow FLoC lifecycle).
The proper documentation and a complete stabilization of its usage is still to be done.

For these reasons, I believe your proposal is too early, thus I'm closing.
As it definitely brings value, we might reopen this PR later on, when it'll become more relevant for production systems.

@LeoColomb LeoColomb closed this Nov 23, 2022
@dmarti
Copy link
Contributor Author

dmarti commented Jan 26, 2023

@LeoColomb Thank you, just wanted to share a quick update: "Topics API" is now scheduled to be pushed out to all Google Chrome users in mid-2023. See h5bp/server-configs-apache#340

@quantumpacket
Copy link
Contributor

quantumpacket commented Jan 28, 2023

I believe it would be more beneficial to keep this pull request and future ones open rather than closing them. While it may be considered premature to merge an experimental feature, keeping a PR open and visible to the community allows for more input and contributions from those who may not be aware of a new feature. Additionally, closed PRs may not receive as much attention from potential contributors or those interested in providing input.

@dmarti
Copy link
Contributor Author

dmarti commented Mar 29, 2023

@LeoColomb Another update on the status of "Topics API".

As a growing percentage of Google Chrome installs are supporting this, third-party scripts are starting to call this API -- including new versions of existing scripts. So it is possible that a site maintainer with no knowledge of this API is already having their users' data collected by a script they installed in order to do something else.

Unfortunately, this header will be needed to protect a site's Google Chrome users from having their info collected -- if the site uses any third-party scripts or iframes. (It's not necessary for a site with only first-party content, or with audited third-party content and SRI)

Info on rollout of Topics API: https://developer.chrome.com/docs/privacy-sandbox/topics/latest/

@LeoColomb LeoColomb reopened this Apr 14, 2023
@LeoColomb
Copy link
Member

Looks good @dmarti. Is the content still up-to-date?

Google is currently testing "Topics API," a new proposal for transferring user interests among sites, currently up to about 5% of Google Chrome users ( https://groups.google.com/a/chromium.org/g/blink-dev/c/Vi-Rj37aZLs/m/wzeBWfxxEgAJ )

This may be appropriate for some ad-supported sites, or sites that run landing pages for ads, but can present risks to users in other contexts. Probably safest to set this header to opt out and then let the site administrator change it if they want to use "Topics API" and understand the compliance and security consequences.

There is an existing opt-out for WordPress that does both this and the earlier FLoC system: https://roytanck.com/2021/04/15/opt-out-of-floc-on-your-wordpress-website/
@dmarti
Copy link
Contributor Author

dmarti commented Apr 14, 2023

@LeoColomb Yes, the content is up to date, thank you.

Copy link
Member

@LeoColomb LeoColomb left a comment

Choose a reason for hiding this comment

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

Then thanks @dmarti!

@LeoColomb LeoColomb merged commit aa83ced into h5bp:main Apr 14, 2023
@dmarti
Copy link
Contributor Author

dmarti commented Apr 14, 2023

@LeoColomb thank you, and thank you for handling h5bp/server-configs-apache#340 as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants