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

Fix Same Origin Policy (SOP) #19

Open
fuzailshakir opened this issue Dec 11, 2021 · 1 comment
Open

Fix Same Origin Policy (SOP) #19

fuzailshakir opened this issue Dec 11, 2021 · 1 comment

Comments

@fuzailshakir
Copy link
Contributor

Rework SOP to make it correct(?) -- the ideas about tabs are incorrect

@julien-piet
Copy link
Contributor

The current version of the SOP page doesn't discuss tabs. Is this still relevant?

The current version seems correct. In my understanding, the SOP is implementation agnostic, it isolates two webpages from accessing each other if they do not share the same origin. This is true regardless of if these webpages are embedded on the same webpage or in separate tabs. Tabs are run in separate processes which naturally enforces SOP, but one could imagine implementing this differently. Maybe there are primitives I am not aware of that allow communication between tabs in a way that violates SOP ?

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