$ ./guess_the_languageCybersecurity
Cybersecurity · medium · #281

What does the response header X-Content-Type-Options: nosniff instruct the browser to do?

X-Content-Type-Options: nosniff
  1. Not guess a resource's content type
  2. Force the whole site onto HTTPS
  3. Block framing by other origins
  4. Strip cookies from the request
nosniff makes the browser trust the declared Content-Type instead of MIME-sniffing, preventing a text or image response being treated as script.
Play Cybersecurity ▸