Security · Security headers
Missing X-Content-Type-Options header
This page is served without the X-Content-Type-Options: nosniff header, so browsers may guess a file's type instead of trusting the server.
How this page is built
Every page on this site is served with four security headers: X-Content-Type-Options, X-Frame-Options, Referrer-Policy and Content-Security-Policy. They are listed page by page in the site's Netlify _headers file, and this page's entry leaves out X-Content-Type-Options.
Why it matters
Browsers sometimes ignore the content type a server sends and guess from the file’s contents instead. An attacker can use this to make an uploaded file run as a script or a stylesheet. The nosniff setting tells the browser to trust the server’s content type and refuse scripts and styles that do not match.
How to check it
Fetch the page and read its response headers, with curl -I or the network panel in the browser’s developer tools. Crawl tools can report security headers for every page, and online header scanners grade them. Here, look for X-Content-Type-Options in the response.
How to fix it
Add X-Content-Type-Options: nosniff to every response, and make sure the server sends the correct content type for each file.