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

Content Security Policy #319

Open
pinae opened this issue Nov 3, 2014 · 0 comments
Open

Content Security Policy #319

pinae opened this issue Nov 3, 2014 · 0 comments
Milestone

Comments

@pinae
Copy link
Collaborator

pinae commented Nov 3, 2014

We should activate Content Security Policy to prevent cross-site-scripting attacks. As this leaves browsers vulnerable to attacks by uploaded .gif images we should also send the header:

X-Content-Type-Options: nosniff

In nginx this can be configured by adding

add_header X-Content-Type-Options nosniff

for Apache this should help: https://httpd.apache.org/docs/2.4/mod/mod_headers.html#header

@pinae pinae added this to the Version1.X milestone Nov 3, 2014
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