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

Add security response headers #7752

Closed
ebicoglu opened this issue Feb 16, 2021 · 1 comment · Fixed by #7753
Closed

Add security response headers #7752

ebicoglu opened this issue Feb 16, 2021 · 1 comment · Fixed by #7753

Comments

@ebicoglu
Copy link
Member

  • X-Content-Type-Options header tells the browser to not try and “guess” what a mimetype of a resource might be, and to just take what mimetype the server has returned as fact.
    X-Content-Type-Options: nosniff

  • X-XSS-Protection is a feature of Internet Explorer, Chrome and Safari that stops pages from loading when they detect reflected cross-site scripting (XSS) attacks
    X-XSS-Protection: 1; mode=block

  • X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a , <iframe> or . SAMEORIGIN makes it being displayed in a frame on the same origin as the page itself. The spec leaves it up to browser vendors to decide whether this option applies to the top level, the parent, or the whole chain
    X-Frame-Options: SAMEORIGIN

@ebicoglu
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant