Skip to content

Instantly share code, notes, and snippets.

@tapanpandita
Created February 29, 2020 15:43
Show Gist options
  • Save tapanpandita/8a58c340433d08be440ec3c21405c3cf to your computer and use it in GitHub Desktop.
Save tapanpandita/8a58c340433d08be440ec3c21405c3cf to your computer and use it in GitHub Desktop.
SECURE_HSTS_SECONDS = 86400 # 1 day
SECURE_HSTS_INCLUDE_SUBDOMAINS = True
SECURE_HSTS_PRELOAD = True
SECURE_BROWSER_XSS_FILTER = True
SECURE_CONTENT_TYPE_NOSNIFF = True
X_FRAME_OPTIONS = 'DENY'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment