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

Should we allow frames/iframes to use permission prompt to relax mixed content check? #93

Open
iVanlIsh opened this issue Nov 22, 2022 · 2 comments

Comments

@iVanlIsh
Copy link
Collaborator

The permission prompt would be restricted to top-level document only in the first stage. However, we are still open for opinions here. Here are some alternative options:

  1. Allow same-origin sub-frames to inherit permissions from top-level document.
  2. Allow same-site sub-frames to inherit permissions from top-level document.
  3. Create a new permission policy to let top-level document to decide if sub-frames are able to inherit the permissions or not. ( In this case, we are still open for a default behavior and the boundary of permission policy for private network access. )
  4. Sub-frames are allowed to gain their own permissions. ( This option might create confusing UX and have security concerns that the data could be leak to top-level documents as well as other sibling frames. Alternatively for the later one, we can trying to relax it only on anonymous iframes or similar situations. )
@letitz
Copy link
Collaborator

letitz commented Jan 13, 2023

AIUI, you are reconsidering this stance, right? We have identified a need to support the permission in cross-origin iframes?

@letitz
Copy link
Collaborator

letitz commented Mar 2, 2023

The latest thinking here is to define a permission policy for local network access, so top level frames can allow subframes to request permission.

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

No branches or pull requests

2 participants