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

Restricting domain by origins #17

Open
Hengjie opened this issue Aug 13, 2015 · 0 comments
Open

Restricting domain by origins #17

Hengjie opened this issue Aug 13, 2015 · 0 comments

Comments

@Hengjie
Copy link

Hengjie commented Aug 13, 2015

There doesn't appear to be a programmatic way to define a whitelist of origins that the iframe will accept requests from. This is something that's recommended by the postMessage (API documentation)[https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage]. It suggests that the receiver of function should "always verify the sender's identity".

By whitelisting, it prevents xdlocalstore from leaking potentially sensitive information

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

1 participant