There was a problem loading the comments.

Premium Hosting - How to protect your site against 'content type sniffing' using cPanel

Support Portal  »  Knowledgebase  »  Viewing Article


Content sniffing, also known as media type sniffing or MIME sniffing, is the practice of inspecting the content of a byte stream to attempt to deduce the file format of the data within it. Content sniffing is generally used to compensate for a lack of accurate metadata that would otherwise be required to enable the file to be interpreted correctly. Content sniffing techniques tend to use a mixture of techniques that rely on the redundancy found in most file formats: looking for file signatures and magic numbers, and heuristics including searching for well-known representative substrings, the use of byte frequency and n-gram tables, and Bayesian inference.

  • Login to cPanel
  • Go to ‘Nginx Cluster Control’ section and select ‘CLOUDNS’
  • Select the domain you wish to enable the protection for from the dropdown list and click ‘Configure’
  • Select ‘Application Settings’
  • Enable the ‘disable_contenttype_sniffing’ option
  • Click ‘Submit’

Share via
Thank you for your feedback on this article.

Related Articles

© Brixly