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

Permissions Policy reports for iframes #1164

Open
shhnjk opened this issue Jan 15, 2025 · 0 comments
Open

Permissions Policy reports for iframes #1164

shhnjk opened this issue Jan 15, 2025 · 0 comments

Comments

@shhnjk
Copy link

shhnjk commented Jan 15, 2025

Request for Mozilla Position on an Emerging Web Specification

Other information

Permissions Policy violation reports for cross-origin iframes are only sent to the iframe's reporting endpoint and not to the embedder's reporting endpoint, because of the concern that it might leak sensitive information about a cross-origin iframe.
However, this makes it difficult for sites to enforce Permissions Policy because it can't learn about breakages in cross-origin iframes.

This feature introduces a new violation type called "Potential Permissions Policy violation", which will only look at existing Permissions Policy (including report-only policy) and the allow attribute set in iframes to detect the conflict between Permissions Policy enforced vs permissions being propagated to iframes. Since both Permissions Policy and allow attributes are set by the embedder, this feature does not leak any new information to the embedder.

However, Potential Permissions Policy violations will be sent when an iframe is loaded, and not when the iframe uses the prohibited feature, which is different from the normal Permissions Policy violations (hence the name "potential").

https://chromestatus.com/feature/5154241037205504

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

No branches or pull requests

1 participant