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

legit communication of application that span into multiple domains #9

Open
jcubic opened this issue Oct 5, 2023 · 4 comments
Open

Comments

@jcubic
Copy link

jcubic commented Oct 5, 2023

Is there any way to make the cross-___domain communication work with this feature on? Sometimes it's legit for the application to share data (send messages between different domains) it's not only a cause of vulnerabilities and privacy violations.

I have a library sysend.js that is a way to send messages between domains. The library is already broken in Safari, because of 3rd party cookie policy that blocks everything without any exceptions.

Is there any way to make at least BroadcastChannel allow to share information Cross-___domain?

As stated there are legit use cases where this new API breaks the apps created on different domains.

See the issue here: jcubic/sysend.js#54

@wanderview
Copy link
Owner

We are working on unpartitioning storage and communication channels using requestStorageAccess:

https://groups.google.com/a/chromium.org/g/blink-dev/c/Mfkj1VqsKX0/m/iLk6xrdMAAAJ

In the meantime you can use the deprecation trial (at least in chrome):

https://developer.chrome.com/blog/storage-partitioning-deprecation-trial/

@jcubic
Copy link
Author

jcubic commented Oct 5, 2023

It's good news that there will be a way to request Cross-origin access.

Is this something that will be part of some kind of spec? So other browsers like Safari can implement it. I think it will be more likely that they will add something like this if it's part of some kind of spec.

@wanderview
Copy link
Owner

Yes. See cross-browser discussion in here:

privacycg/storage-access#102

@arichiv
Copy link

arichiv commented Dec 4, 2023

An update on the Origin Trial for some storage/communication mechanisms is here: https://developer.chrome.com/blog/saa-non-cookie-storage/

BroadcastChannel is available in the same Origin Trial with the Chrome 121 beta that should be promoted later this week https://chromiumdash.appspot.com/schedule.

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

3 participants