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

Sub-frames at same domain also acquire access #21

Closed
sleyhane opened this issue Apr 7, 2020 · 2 comments
Closed

Sub-frames at same domain also acquire access #21

sleyhane opened this issue Apr 7, 2020 · 2 comments

Comments

@sleyhane
Copy link

sleyhane commented Apr 7, 2020

Regarding the scope of storage access, I'd like to request that sub-frames from the same domain also acquire storage access when their parent acquires storage access. This approach could be applied recursively down the frame tree.

When a user grants storage access to an iframe, they need not be concerned whether the contents of that iframe are a single page or made up of several pages from the same domain.

I've hit this issue as a developer making use of the Storage Access API. In our case, we are the third-party serving content from a Learning Management System inside of another (first-party) system. We don't have a choice but to make use of frames in order to support learning industry standards. Our main page holds a Javascript API, and then has two frames: one for the training module and one for course navigation.

In Safari 13.1, we're able to successfully acquire storage access for our main page, but then our sub-frames fail because they do not get access to our authentication cookie.

While our specific scenario might fall into the 'non-goals' category, I still believe this request makes sense. I can see this issue applying to others and don't see how it adds any further threat to tracking.

@johnwilander
Copy link
Collaborator

Hi! Thanks for filing!

I believe #14 already covers this albeit mixed up with some other concerns. Can you have a look at that issue and see if they are the same?

@sleyhane
Copy link
Author

Sorry, my initial read of #14 missed the nesting of same-domain frames scenario. I focussed too much on the sibling frames.

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