-
Notifications
You must be signed in to change notification settings - Fork 72
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
Partitioned Popins #1023
Comments
Thanks for requesting this position and for the work writing this up. This is an interesting new primitive. I have a couple of related questions for clarification:
|
|
An important question here is what protections are relied upon by the embedding protections (e.g. frame-ancestors CSP). My understanding of the login page use is that it is intended to prevent training users to enter their IDP credentials on pages other than the IDP's specific login page and to prevent clickjacking. This is where my concern on the second question is amplified. Popping-in could be faked convincingly, especially if password managers did not autofill. Clickjacking may be the missing protection here, but this feels like a big change with lots of unexplored risk where a more targeted clickjacking protection would be more useful and less risky. If the protections sought by refusing to use an iframe are different than the UX and clickjacking concerns, let me know. |
I believe UX and clickjacking concerns are the primary ones, but we do also want to try not to violate a login page's potential desire for crossOriginIsolation if possible. |
I think it is best to defer a position on this until there are answers to how to mitigate in-content spoofing of the interface and how a password manager should treat this window. |
Request for Mozilla Position on an Emerging Web Specification
Other information
A new web primitive is needed to cover short-lived popup use cases which require access to storage partitioned by the popup opener. This primitive should be private and secure by default, while providing a consistent UI experience across user agents. To solve this need, we propose the “Partitioned Popin”, a type of pop-up for loading web content with two unique new features: a modal-like UI relative to its opener tab and cookies/storage being partitioned to its opener context.
The text was updated successfully, but these errors were encountered: