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

What is the state of third party storage today in the various browsers? #12

Open
jkarlin opened this issue Jun 30, 2020 · 9 comments
Open

Comments

@jkarlin
Copy link

jkarlin commented Jun 30, 2020

Chrome now blocks third-party storage in incognito mode.
I believe Firefox blocks third-party storage for sites on the tracking list.
I don't know what Safari does today.
I don't know what Edge does today.

It's obviously much easier to simply throw on third-party storage access and then fill in unpartitioned storage once requestStorageAccess resolves. Do we have good reasons not to simply do that? Or perhaps we could provide a single partitioned storage mechanism, but not all of them.

@annevk
Copy link
Collaborator

annevk commented Jul 6, 2020

Safari partitions storage, but blocks cookies, as I understand it. When you say storage do you mean both of those? For Firefox we are experimenting with partitioning both for the majority of third party sites (see https://groups.google.com/d/msg/mozilla.dev.platform/f2_hLdfsbq4/lNjFpEZPAgAJ). The hope is that this is more compatible than blocking. (I agree that blocking is attractive though, see also #7/#9.)

@jkarlin
Copy link
Author

jkarlin commented Jul 9, 2020

Sorry, thought I had replied earlier but I wound up losing the tab before submitting. Thanks for your response. I was referring more to the non-cookie storage mechanisms.

Safari has since posted what they do with their storage which is super handy. It looks like localStorage is both partitioned and ephemeral, while the rest is just partitioned.

My general thought is that partitioning is safest, and likely the way to go. I just wanted to verify that other browsers were also headed in that direction before doing so, as it's a lot of work. I'm still tempted to provide a subset (or even possibly a new) storage API specific to 3p contexts if other browsers were interested in that.

@annevk
Copy link
Collaborator

annevk commented Jul 10, 2020

The model Firefox envisions is partitioned storage for third parties that can transition to non-partitioned storage when a third party is granted the storage-access permission. For both cookies and storage.

The way I see that transition working model-wise is through replacement: whatwg/storage#88. Which I'd like to to behave similarly to Clear-Site-Data (that would be replacing with an empty storage shelf).

@jkarlin
Copy link
Author

jkarlin commented Aug 7, 2020

I chatted briefly with @erik-anderson about Edge's current state. They're currently denying storage to tracker sites and enabling it on storage access grant. Not sure what their long term strategy is though.

@annevk
Copy link
Collaborator

annevk commented Aug 17, 2020

Ah yeah, other browsers have something akin to that too for trackers, but it's not clear that approach scales well to all third parties. Hence the model I mentioned above.

@erik-anderson erik-anderson added the agenda+ Request to add this issue to the agenda of our next telcon or F2F label Aug 21, 2020
@EricMwobobia
Copy link

@jkarlin A quick clarification, would blocking the third party storage or cookies on Incognito Mode have an impact on the user experience? I think this would be good for the user privacy.

@annevk
Copy link
Collaborator

annevk commented Aug 28, 2020

As an update, it seems there is relatively wide buy-in now across implementers for attempting to give third parties (partitioned) storage capabilities by default.

Cookies are tricky: #15.

And whether and how to transition from partitioned to non-partitioned is still to be discussed, but some experiments are ongoing. (See also earlier links to the Storage Standard repository issues.)

@TanviHacks TanviHacks removed the agenda+ Request to add this issue to the agenda of our next telcon or F2F label Sep 9, 2020
@pes10k
Copy link

pes10k commented Sep 10, 2020

If its of use, Brave currently blocks all 3p storage (network cookies, but also all other storage in frames).

We are moving though (w/in months) to giving all 3p frames dual key'ed storage, life-timed under the 1p frame. We're also considering storage access API to give frames unpartitioned storage, but this is still being experimented with.

brave/brave-browser#8514

@miketaylr
Copy link

We had a TPAC breakout session on the topic, minutes are at https://docs.google.com/document/d/13oqM9AUnItnDw02zsvpT3DdYYOpIpl0_eTcnbS8rjUY/edit# (which links to some slides).

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

7 participants