HTTP headers for web security

A presentation at pisa.dev in in Pisa, Province of Pisa, Italy by Giacomo Debidda

HTTP headers for web security

HTTP headers for web security

In this talk we will discuss about which HTTP response headers are important for web security, how they are configured, and what’s their current support across browsers.

We will talk about:

  • Strict-Transport-Security (HSTS) and HSTS preloading
  • How SameSite cookies help us against CSRF
  • How Content-Security-Policy helps us against XSS
  • Permissions-Policy
  • Reporting API and reporting services
  • same-origin vs same-site, cross-origin vs cross-site
  • CORS
  • CORP, COEP, COOP
  • What does cross-origin isolated mean?
  • Tools that help us writing and troubleshooting HTTP headers

Resources

The following resources were mentioned during the presentation or are useful additional information.