What is Leech Protection?

Leech Protect is one of the Security protection provided by cPanel. If users are publically posting their username and password to the restricted area of your site, this will compromise your website security. Enabling Leech protection will restrict such users. This will also prevent the users from multiple login attempts within a short time. It will redirect and suspend the compromised accounts to a specific URL.

How to setup Leech Protection in cPanel?

  1. Login to the cPanel using your username and password.

  2. Click on the Leech Protection inside security section.




  3. Now, select and click on the folder which you want to protect.

  4. Once you select the directory, we will need to set up the required permission in the new tab.



  • Number of Logins per username allowed within 2 hours period: Set the number of login attempts can be made within 2 hours. Users will not be able to log in than the limit allocated by you.

  • URL to Redirect Leech Users: Enter the URL into the box by this, you can redirect the leech user to a specific URL if they exceed the maximum number of login attempts.

  • Send Email Alert: You can send an email to the same user's email account.

  • Disable Compromised Account: By selecting this, You can suspend the account and this will also disable the user's password. You can enable the account by resetting the password of the user account.

  • Disable Protection: You can deactivate the Leech Protection by clicking on the Disable button under Disable protection.

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to Disable Directory Browsing in cPanel?

If there is no index file to display your website, it will show the directories and other files....

How to Show Hidden Files at cPanel File Manager?

More often you would need to edit .htaccess file (most common file for WordPress) and you could...