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

Tighten the Content-Security-Policy #63

Closed
jcjones opened this issue Sep 18, 2016 · 2 comments
Closed

Tighten the Content-Security-Policy #63

jcjones opened this issue Sep 18, 2016 · 2 comments

Comments

@jcjones
Copy link
Contributor

jcjones commented Sep 18, 2016

Once #61 merges, the Content Security Policy can have the plot.ly entries removed.

Further, the Google Analytics code can be relocated out of the main templates into main.js to permit removal of the unsafe-inline CSP script source.

@jcjones
Copy link
Contributor Author

jcjones commented Sep 30, 2016

See #69 for a suggested new CSP policy:

Content-Security-Policy "default-src 'self'; style-src 'unsafe-inline' 'self'; script-src 'unsafe-eval' 'self' https://www.google-analytics.com; img-src 'self' data: https://www.google-analytics.com;"

@danjeffery
Copy link

These have been merged and further tweaks have been made since #69. I believe this is complete.

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

3 participants