Werk #11607: Improve GUI security: Prevent changing content type

Component GUI
Title Improve GUI security: Prevent changing content type
Date Nov 19, 2020
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0b1
Level Trivial Change
Class Security Fix
Compatibility Compatible - no manual interaction needed

All web pages served by Checkmk will now have the HTTP header Header always set X-Content-Type-Options: "nosniff" set. It prevents a client from guessing the content type based on the provided file. This is a way to opt out of MIME type sniffing, or, in other words, to say that the MIME types are deliberately configured.

Further information can be found here:

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options https://www.chromium.org/Home/chromium-security/corb-for-developers

To the list of all Werks