Skip to content

Add security headers #11

@Varbin

Description

@Varbin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsecurityA security issue or improvement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions