Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Missing X-Content-Type-Options (Anti-MIME-Sniffing) header

Discussion in 'Security' started by albatroz, Apr 4, 2019.

  1. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    347
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    I recently run a vulnerability test over a wordpress site running over my CPanel
    server and this was one of the reported vulnerabilities so I was wondering
    how can we solve it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,727
    Likes Received:
    436
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    You can add the following into an .htaccess if you need it:

    Code:
    Header set X-Content-Type-Options nosniff
    
    Or an apache include:

    Code:
    Header set X-Content-Type-Options nosniff
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice