Security

How to Password Protect a Directory in cPanel

You can lock a directory with a password using the cPanel’s Directory Privacy. Log in to your cPanel account. In the Files section, click on Directory Privacy. Click on the directory to open it. Click on the Edit, showing next to the directory you want to protect. Under Security Settings, check-mark Password protect this directory. Then click on Save. Now click on Go back. Scroll down the page. Under Create User, fill in the username and password fields or use the Password Generator option to generate a new random password and copy it to Notepad. Click on Save. If you try to open the password-protected directory in your browser via the URL www.example.com/myfolder, your browser prompts for credentials.

Related: cpanel


August 28, 2023

How to Enable the Two-Factor Authentication on Your cPanel Account

Security is important for our data safety. We recommend you to enable the Two-Factor Authentication (2FA) on your cPanel account in order to prevent hackers from accessing your cPanel account even if they have somehow obtained your account details. What are the Requirements? You would need a smartphone with a supported time-based one-time password app. Mobile phone OS such as Android, Windows and iOS have an app for 2FA. How to Enable the Two-Factor Authentication on Your cPanel Account? Log in to your cPanel account. In the Security section, click on Two-Factor Authentication. Click on Setup Two-Factor Authentication. Under Step 1, scan the QR code using your Google Authenticator or 2FA Authenticator application. If your APP doesn’t have a QR code reader, you can manually enter the account name and key number. Under the Security Code, enter your Two-Factor Authentication code and click on Configure Two-Factor Authentication. It should display


August 28, 2023

How to Disable the Two-Factor Authentication on Your cPanel Account

Follow this instruction to remove two-factor authentication from your cPanel account. Log in to your cPanel account. In the Security section, click on Two-Factor Authentication. Click on Remove Two-Factor Authentication. For confirmation, click on Remove. It should show a message such as Success: The system removed the two-factor authentication from your account.


August 28, 2023

How to Block an IP Address to Deny Access to Your Website

You can blacklist an IP Address to deny access to your website. Log in to your cPanel account. In the Security section, click on IP Blocker. Under the Add an IP or Range, you should enter the IP Address you want to block. Click on Add. Here is Example: Single IP Address: 192.168.0.1 Range: 192.168.0.1-192.168.0.40 Implied Range: 192.168.0.1-40 CIDR Format: 192.168.0.1/32 Implies 10.*.*.* — 192.

Related: ip range


August 28, 2023

How to Enable or Disable Mod Security in cPanel

Are you facing the issue of IP getting blocked repeatedly? If the answer is Yes, then it may have happened due to Mod Security. What is Mod Security? ModSecurity is a module that protects your website from various types of attacks. Mod Security protects a website from hackers, brute force attacks, cross-site request forgery(CSRF), and many other threats. Although it sometimes creates a problem, we do not recommend you to disable it but instead fix your software’s vulnerability. Disabling ModSecurity can help you determine whether ModSecurity blocks your IP or not. However, if your IP is blocked for a different reason, then contact us. We will find the exact reason behind it in order to resolve your issue so that you will not be required to disable the module. How to Enable or Disable Mod Security in cPanel? Log in to your cPanel account. In the Security section, click on


August 28, 2023