toolness/weblitmapper — pull request #37 by jdotpz (2014-05-30 21:45:04+00:00)
Title: Add helmet security options

Adds some env options:
# Disable HSTS? (set to 'true' to disable HSTS)
export HSTS_DISABLED='true'

# Use Deny settings for X-Frame headers?
# set to 'true' to disable X-frames-options denial
export DISABLE_XFO_HEADERS_DENY='true'

# Use default XSS protection?
# set to 'true' to disable IEXSS protection
export IEXSS_PROTECTION_DISABLED='true'

These, when set to not disable them, will add x-frame-options deny headers, hsts headers, and iexss protection.