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 "X-Content-Type-Options: nosniff" header to server response #75

Open
TheRedTrainer opened this issue Nov 23, 2017 · 0 comments
Open

Comments

@TheRedTrainer
Copy link

In order to improve the security for rdap-server responses and avoid a possibility of being attacked with an XSS attack, it is recommended to include the following header in rdap-server response: "X-Content-Type-Options: nosniff " as it is told in the article "Top 5 REST API Security Guidelines" (http://blog.restcase.com/top-5-rest-api-security-guidelines/)

The server should also send an X-Content-Type-Options: nosniff to make sure the browser does not try to detect a different Content-Type than what is actually sent (can lead to XSS).

@TheRedTrainer TheRedTrainer changed the title Add "X-Content-Type-Options: nosniff" to server response Add "X-Content-Type-Options: nosniff" header to server response Nov 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant