Giter Site home page Giter Site logo

Comments (5)

othermaciej avatar othermaciej commented on September 17, 2024

I think for WebKit, we'd be more comfortable with just blocking all third-party cookies. Partitioned storage is dangerous in combination with Storage Access API, unless it's made ephemeral. But ephemeral storage doesn't have that much advantage over local variables in JavaScript.

from storage-access.

michael-oneill avatar michael-oneill commented on September 17, 2024

I forgot to say that __k2 cookies would always be partitioned,

from storage-access.

michael-oneill avatar michael-oneill commented on September 17, 2024

I think for WebKit, we'd be more comfortable with just blocking all third-party cookies. Partitioned storage is dangerous in combination with Storage Access API, unless it's made ephemeral. But ephemeral storage doesn't have that much advantage over local variables in JavaScript.

Partitioned cookies can always be simulated via postmessage,sending a first-party cookie value or other origin specific data point, to embedded contexts.

If partitioned cookies are dangerous then so is postMessage and third-party script running in top level context.

The problem with it is its slow, error prone, and opaque.

k2 cookies avoid that because they can be immediately detected, they need a user prompt etc.

They also avoid the postMessage and extra turnround but are more transparent and privacy preserving.

from storage-access.

othermaciej avatar othermaciej commented on September 17, 2024

Partitioned cookies persist past the point of any frame to the site being opened and perhaps past browser quit (if not ephemeral).

Third-party script running in top level context is indeed dangerous.

from storage-access.

hober avatar hober commented on September 17, 2024

Forward-duping to #75.

from storage-access.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.