Leech Protection

Leech Protection

Here's how to use cPanel's Leech Protect feature to prevent users from disclosing or publishing their passwords in a restricted area of ​​your website.
This feature will redirect accounts that have been compromised with a chosen URL (and suspend them if you choose to do so).
When users publish using their name and password, unauthorized and malicious visitors can use the credentials to access restricted areas on the website. This practice is known as Leeching.

Here's how to activate Leech Protection in the directory:
1. Log in to your cPanel account. In the "Security" section, click on the "Leech Protection" icon.



2. Click the name of the directory you want to protect. Click in “Edit”.





On the screen below you will see options to configure your Leech Protection.
1. Under “Configure Leech Protection”, enter the number of logins allowed per username in a two-hour period.
2. Enter a URL to redirect users to another page if their account is compromised.
3. To receive an email alert if your account is compromised, select the “Send email alert to” option and enter an email address."
4. To disable compromised accounts, select the “Disable compromised accounts” option.
5. To finish, click “Enable”.



A success message will be displayed



Hope this helps !





    • Related Articles

    • Hotlink Protection

      What is it Hotlink Protection? Hotlink Protection prevents other websites from using files, photos from your website. It will be possible to link files that you do not specify. Ex: Let's say you use an image on your website, and someone else wants to ...
    • How to protect your Website's images from an external Website

      External Website can use < img /> tag to display an image from your site somewhere else on the internet and The end result of this is that the other website steals your bandwidth. 1. Log into your cPanel account. 2. In the "Security" section, click ...
    • Directory Privacy

      To create protection for a directory of your hosting with a Username and Password, follow the steps: In your cPanel, select "Directory Privacy" in the Files section. Then select the directory you want to assign privacy to. Complete the fields as ...
    • How to protect .htaccess file?

      For security reasons, we recommend that you prevent unauthorized access to your .htaccess file. To do this, you need to understand how to find this file. You can edit the .htaccess file using an FTP client or using cPanel. Add security code to ...