-
Notifications
You must be signed in to change notification settings - Fork 28
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
"popup-navigate" / "popup-document" #17
Comments
@koto and I chatted about this yesterday and I think it's an interesting idea, but we were having some trouble figuring out how a server would translate this value into security decisions. I imagine we'd primarily want to to tell
In both cases an attacker would still have a reference to the victim window and could interact with it. We could have a flag saying "I'm being navigated in a window to which some other window has a reference", but I expect there would be legitimate cases where this is true which are out of control of the application, so the application couldn't reject such interactions. Overall, there's merit to providing servers with such information, but there are also limits to what we can guarantee at request time -- my guess is that in practice we might have better luck with something like COOP for the problem of direct cross-window interactions. |
That's a very good point. If we were to offer something it'd have to be more like:
In all of these your name might still be polluted however and you might also be sandboxed. |
My intuition is that servers would either expect to be popped-up, and would therefore ignore the poppedupness of any navgation request, or wouldn't expect to be popped-up, and would therefore deliver some sort of COOP header unconditionally. In either case, I'm not sure that delivering the additional "You've been popped up!" bit would change the server's decision. Are there other scenarios in which the server would do something differently when loading in an auxiliary browsing context? |
Assuming COOP works out there's probably nothing to do here. |
Closing this out, as I don't think this is a good fit given the other tools we have available. COOP seems like the right way to address the threat. |
It seems useful to tell a resource it's being loaded in an auxiliary browsing context as this means it can be controlled to some extent. (I'm not entirely sure whether to enshrine popup or "auxiliary".)
The text was updated successfully, but these errors were encountered: