proposals icon indicating copy to clipboard operation
proposals copied to clipboard

Shared Storage

Open jkarlin opened this issue 2 years ago • 8 comments

Introduction

In order to prevent cross-site user tracking, browsers are partitioning all forms of storage (cookies, localStorage, caches, etc). But, there are many legitimate use cases currently relying on unpartitioned storage that will vanish without the help of new web APIs. We’ve seen a number of APIs proposed to fill in these gaps (e.g., Conversion Measurement API, Private Click Measurement, Storage Access, Trust Tokens, TURTLEDOVE, FLoC) and some remain (including cross-origin A/B experiments and user measurement). We propose a general-purpose, low-level API that can serve a number of these use cases.

The idea is to provide a storage API (named Shared Storage) that is intended to be unpartitioned. Origins can write to it from their own contexts on any page. To prevent cross-site tracking of users, data in Shared Storage may only be read in a restricted environment that has carefully constructed output gates. Over time, we hope to design and add additional gates.

Read the complete explainer.

Feedback (Choose One)

I welcome feedback in this thread, but encourage you to file bugs against the explainer.

jkarlin avatar Jun 09 '22 13:06 jkarlin

Definitely interested in Shared Storage API, including experimenting with it for addressing some anti-abuse use cases affected by the loss of 3P cookies.

SpaceGnome avatar Jun 16 '22 00:06 SpaceGnome

I think it's interesting enough to prototype (This isn't by any means an endorsement at all). I think it's a little unfortunate that it's coupled to fenced frames and the aggregation API

jonathanKingston avatar Jun 16 '22 18:06 jonathanKingston

I am also interested in the anti-abuse potential of the Shared Storage API .

supanate7 avatar Jun 16 '22 19:06 supanate7

We're also interested in this proposal - frequency capping/measurement use case. EDIT: just to clarify: statement is both personal and as a part of RTB House organization

piwanczak avatar Jun 17 '22 06:06 piwanczak

@jonathanKingston @supanate7 @piwanczak - Can you clarify if your support for exploring this use case is personal or in the name of an organization? (and if it's the latter, which organization)

yoavweiss avatar Jun 17 '22 07:06 yoavweiss

Thanks @piwanczak for clarifying. That seems like enough support to move the repo over to the WICG.

yoavweiss avatar Jun 17 '22 15:06 yoavweiss

The repo now lives under https://github.com/WICG/shared-storage Happy incubation!!

yoavweiss avatar Jun 17 '22 16:06 yoavweiss

My views were personal, I think my organisation hasn't formed a concrete opinions yet.

jonathanKingston avatar Jun 17 '22 16:06 jonathanKingston