Rule n° 206 - The headers sent by the server disable automatic detection of each resource’s MIME type.
No, MIME has nothing to do with Marcel Marceau, it's just an identifier for specifying the data format on the Internet. Automatic detection of this format can enable the sending of harmful content to the user computers. Insofar as this automatic detection is not vital, disable it.
Goal
- Reduce the risk of downloading dangerous hidden content.
Solution technique
Configure the server to address the X-Content-Type-Options header with the value nosniff.
Moyen de contrôle
Using an HTTP header inspection tool, check that the X-Content-Type-Options header is present with the value nosniff.