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 headers #281

Open
teodesian opened this issue Sep 12, 2023 · 0 comments
Open

Content-security-policy headers #281

teodesian opened this issue Sep 12, 2023 · 0 comments

Comments

@teodesian
Copy link
Collaborator

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy

navigate-to looks useful to implement RE the 'to' header during login. login page should only go to /auth, ever.

style-src, script-src, prefetch-src, manifest-src, img-src, media-src sound interesting. We may be able to just set default-src and be done with it though. I have done so.

What is more important is the reporting URL. We probably need a dashboard of some kind, or to log it so that we can fail2ban em.

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