How To Protect Your Website Against A Cross-Site Scripting (XSS)

Cross-site scripting is a type of computer security vulnerability typically found in web applications. XSS enables attackers to inject client-side scripts into web pages viewed by other users. A cross-site scripting vulnerability may be used by attackers to bypass access controls such as the same-origin policy.

To protect against XSS:

  1. Login to cPanel
  2. Go to 'Nginx Cluster Control' section and select 'CLOUDNS' (is located at the bottom of page)
  3. Select the domain you wish to enable the protection for from the dropdown list
  4. Click configure
  5. Select Application Settings
  6. Enable the 'xss_filter' option
  7. Click 'Submit'

 

If you need any help contact support

 

  • security, Secure website, cross-site scripting, XSS, protect
  • 280 Users Found This Useful
Was this answer helpful?

Related Articles

You have an error in your SQL syntax

You have an error in your SQL syntax, is an issue with SQL syntax and in cases by: Reserved...

How to Block IP Address Using .htaccess

To block an IP address from .htaccess you will first need to locate the .htaccess file. .htaccess...

How to Change Your PHP Version

Some website requires different PHP Version so we have decided to allow our user to change their...

My website was hacked

My website was hacked. What should I do?   If your website has been hacked The Elector team can...