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

What is the correct option to allow all? #2

Open
3den opened this issue Dec 17, 2015 · 3 comments
Open

What is the correct option to allow all? #2

3den opened this issue Dec 17, 2015 · 3 comments

Comments

@3den
Copy link

3den commented Dec 17, 2015

I noticed that by default you set the value 'Deny'. I searched online and besides that I could only find SAMEORIGIN, and ALLOW-FROM. Do you know what is the value that I can use to allow all domains?

Thanks :)

@domharrington
Copy link
Owner

The correct option to allow all is to not have this header set. That way it can be <iframe>'d from any page. Is that what you mean?

@staminna
Copy link

I think he wants the opposite.
The example is still resulting in

Refused to display 'http://localhost:3000/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

How do you set this to Allow?
Do you think App/play store allow apps to use Iframe?

@domharrington
Copy link
Owner

If you want your website to be able to be embedded in an iframe, then you don't need this header to be set at all.

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