How to enable clickjacking protection in cPanel using CloudNS

269ac00f765508cb74b25d006dbf5bb2

Written by Dennis Nind

Last published at: February 8th, 2019

Clickjacking (User Interface redress attack, UI redress attack, UI redressing) is a malicious technique of tricking a Web user into clicking on something different from what the user perceives they are clicking on, thus potentially revealing confidential information or taking control of their computer while clicking on seemingly innocuous web pages. 

It is a browser security issue that is a vulnerability across a variety of browsers and platforms. 

A clickjack takes the form of embedded code or a script that can execute without the user's knowledge, such as clicking on a button that appears to perform another function. This will be partly protected by default due to mod_security, however, you can enable an additional layer (at nginx level) from within our CLOUDNS plugin in cPanel.

  1. Login to cPanel
  2. go to Nginx Cluster Control
  3. Select the domain you wish to enable it for from the dropdown list, then click 'Configure'
  4. Click 'Application Settings'
  5. Scroll down to 'Security Settings'
  6. Enable the 'clickjacking_protect' option