When you already have a website, of course you will think about how to increase security on the website. Do not let the data on the website be taken and misused by hackers. In this guide, you will learn an effort to increase security on a website. You will learn how to prevent XSS attacks by providing a CSP feature on your website via cPanel hosting.
What is a Content Security Policy?
Content Security Policy or CSP is a feature that aims to increase the security of a website. The CSP feature can prevent your website from XSS attacks or other code injection attacks. Usually hackers carry out XSS attacks by inserting scripts into the website. At KincaiHosting, the CSP feature can be obtained for FREE and EASY. Come on, immediately activate the CSP feature on your website to prevent XSS attacks!
How to activate the CSP feature on KincaiHosting Hosting
The steps you must take to activate the CSP feature include:
1. Access cPanel Hosting
The first step that must be done is to log in to your cPanel hosting website. Login can be accessed via https://domainname/cpanel , according to the email sent from KincaiHosting regarding Hosting Account Information. So, for those of you who have never logged into cPanel, please read the guide on How to Login to cPanel Hosting first ...
After successfully logging in to cPanel, you will see a cPanel page which contains various features for your website. You can search in the search form, type cspand clickCSP
2. Activating the CSP Feature
The next step is to activate the CSP feature to prevent XSS attacks on your website. If the button is green and says it Enablemeans the CSP feature is not active. So you have to activate the CSP feature first.
You can activate the CSP feature by clicking the Enablegreen button . If the button Enablehas turned red and says Disable, that means the CSP feature on your website is active.
To deactivate or turn off the CSP feature, you can click the button Disable. When the button turns green, it means that you have successfully disabled the CSP feature on hosting.
Also Read: Tips on Securing a WordPress Website
Conclusion
Providing a Content Security Policy feature on a website is one of the efforts that must be made to prevent XSS attacks. The data on the website will be safe and will not be misused by hackers. With the CSP feature, the security on your website will increase. At KincaiHosting hosting, the CSP feature has been provided. All you need to do is activate the CSP feature in cPanel.