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

Opener Protections #277

Open
arichiv opened this issue Nov 13, 2023 · 0 comments
Open

Opener Protections #277

arichiv opened this issue Nov 13, 2023 · 0 comments

Comments

@arichiv
Copy link

arichiv commented Nov 13, 2023

Title of the spec

Opener Storage Partitioning

URL to the spec

https://arichiv.github.io/opener-storage-partitioning/

URL to the spec's repository

https://github.com/arichiv/opener-storage-partitioning/

Issue Tracker URL

https://crbug.com/1159586

TAG Design Review URL

w3ctag/design-reviews#916

Mozilla standards-positions issue URL

mozilla/standards-positions#926

Description

Our goal is to maintain cross-page communication where important to web function while striking a better balance with user-privacy.

This will be done in two steps. First, whenever a frame navigates cross-origin any other windows with a window.opener handle pointing to the navigating frame will have that handle cleared. Second, either (a) any frames with a valid window.opener (or window.top.opener) handle at the time of navigation will have transient storage via a StorageKey nonce instead of access to standard first- and third-party StorageKeys or (b) the opener will be severed by default until user interaction or an API call restores it.

The first proposal should be less disruptive than either of the second, but metrics will need to be gathered on both. Once implemented, these proposals together prevent any synchronous or asynchronous communication between a first- and third-party storage bucket for the same origin. Instead, communication between two buckets for the same origin will only be possible if one of the buckets is transient. This mitigates the threats we are concerned with.

@arichiv arichiv changed the title Early Design Review: Opener Protections Opener Protections Nov 13, 2023
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

1 participant