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

Open
4 of 5 tasks
Varbin opened this issue Feb 3, 2024 · 0 comments
Open
4 of 5 tasks

Add security headers #11

Varbin opened this issue Feb 3, 2024 · 0 comments
Labels
enhancement New feature or request security A security issue or improvement

Comments

@Varbin
Copy link
Owner

Varbin commented Feb 3, 2024

See the HTTP Headers cheat sheet and the Flask documentation.

  • Content-Security-Policy (note to myself: allow inclusion from the IdP, possibly allow external and data URLs for images)
  • X-Frame-Options as a fallback
  • X-Content-Type-Options
  • HTTP Strict Transport Security (configurable with on/off)
  • Document and possibly set improved defaults for session cookie parameters

Do not configurate an referrer policy, as IdPs may check the referrer

Varbin added a commit that referenced this issue Feb 4, 2024
Partially implements #11.
@Varbin Varbin added enhancement New feature or request security A security issue or improvement labels Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request security A security issue or improvement
Projects
None yet
Development

No branches or pull requests

1 participant