This article lists the most important security headers you can use to protect your website. Use it to understand web-based security features, learn how to implement them on your website, and as a reference for when you need a reminder. Before diving into security headers, learn about known threats on the web and why you'd want to use these security headers.

Post cover image
Table of contents
Content Security Policy (CSP) #Trusted Types #How to use X-Content-Type-OptionsHow to use X-Frame-OptionsCross-Origin Resource Policy (CORP) #Cross-Origin Opener Policy (COOP) #Cross-Origin Resource Sharing (CORS) #How to use CORSCross-Origin Embedder Policy (COEP) #HTTP Strict Transport Security (HSTS) #How to use HSTS

Sort: