What is Leech Protection in cPanel? and how to Configuring Leech Protection

Leeching is defined as when users publicly post their username and password, and unauthorized visitors can use their credentials to access secure areas of your web site. Leech Protect allows you to prevent your users from giving out or publicly posting their passwords to a restricted area of your site. This feature will redirect accounts which have been compromised to a URL of your choice. This is useful if, for example, someone posts a user’s credentials on a public site, which allows unauthorized users to access restricted content. For enabling leech protection, please do the following step:

  1. Login to cPanel
  2. In search bar type, leech protection


3. or go to Security section and Click on leech protection.


4. Select the directory that you wish to protect


5. enter following details: –

Enter the maximum number of logins that you wish to allow each user within a two-hour period.

Type a URL to redirect users to another web page when their account is compromised.

To receive an e-mail alert when an account is compromised, select the Send Email Alert to check box, and               then type an e-mail address.

To disable accounts that are compromised, select the Disable Compromised Accounts check box.

6. Click Enable.


7. After clicking enable you will get message “Leech protection enabled with directory name and number of              logins”


Disabling leech protection

To disable leech protection, please do following steps:

  1. click Leech Protection.
  2. Click the name of the directory for which you want to disable leech protection. Directories that have leech protection currently enabled have a small image of a leech next to them.as shown in image


3. click Disable. You will see message “Leech protection disabled”



You’ve successfully configure Leech protection in cPanel.

Contact waxspace support if you need any support for configuring Leech protection.