How to Password Protect a Directory in cPanel
You can lock a directory with a password using the cPanel’s Directory Privacy.
1. Log in to your cPanel account.
2. In the Files section, click on Directory Privacy.
3. Click on the directory to open it.
4. Click on the Edit, showing next to the directory you want to protect.
pass pro (data:image/sFew readersHow to Block Any IP Address via an htaccess Rule
Blocking an IP address via an .htaccess rule is a straightforward method to prevent unwanted traffic from accessing your website. Here’s a detailed guide on how to block any IP address for Host4Geeks users:
Step-by-Step Guide to Blocking an IP Address via an .htaccess Rule
1. Log into cPanel
Access cPanel
Open your wFew readersHow 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 recomFew readersHow to Restrict Access to Directories by IP Address
To secure your admin area from hackers, you should only allow access to your admin directory from selected IP addresses. You can create a dot htaccess file in the directory where you want to restrict access to specific IP addresses.
For example, if you have a WordPress blog installed on your main directory and you log in viaFew readersHow to Disable Directory Browsing Using the htaccess Rule
Disabling directory browsing on your website is a crucial security measure to prevent unauthorized users from viewing the contents of your directories. This can be easily achieved by adding a rule to your .htaccess file. Here’s a detailed guide on how to disable directory browsing using an .htaccess rule for Host4GeFew readersHow to Protect Website Images From Being Displayed at an External Website
External websites may display your website images on their websites, thus stealing your bandwidth. You can prevent this with Hotlink Protection.
1. Log in to your cPanel account.
2. In the Security section, click on HotLink Protection.
3. If it displays Hotlink protection is currently disabled, click onFew readersHow to Disable the Two-Factor Authentication on Your cPanel Account
Disabling Two-Factor Authentication (2FA) on your cPanel account may be necessary if you are experiencing issues with your authentication method or if you need to reset it. Here’s a detailed guide on how to disable 2FA on your cPanel account for Host4Geeks users:
Step-by-Step Guide to Disabling Two-Factor AuthenticatFew readersHow 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 neeFew readersHow to Block an IP Address to Deny Access to Your Website
You can blacklist an IP Address to deny access to your website.
1. Log in to your cPanel account.
2. In the Security section, click on IP Blocker.
3. Under the Add an IP or Range, you should enter the IP аddress you want to block.
4. Click on Add.
Here is Example:
Single IP AdFew readers