Security Headers

Jump to: navigation, search

HTTP headers which should be included by default. Methods for modifying or removing the headers for specific instances should be provided, but by default there are secure settings which should be enabled unless there are other overriding concerns.

  • X-Frame-Options: SAMEORIGIN [1]
  • X-XSS-Protection: 1; mode=block [2]
  • X-Content-Type-Options: nosniff
  • Content-Type: text/html; charset=utf-8

Additionally, no headers should be included that needlessly divulge information about the server or it's configuration that an end user wouldn't need.