How To Enable Leech Protection In cPanel?

In this article we will discuss about Leech Protection and how to enable leech protection in cPanel.

What Is Leech Protection?

When users publicly post their username and password, unauthorized visitors can use those credentials to access secure areas of your website which compromises your website security. This is known as Leeching.

How Leech Protection works?

In WHM/cPanel, there is a feature called Leech Protection. In Leech protection, you can limit the number of times a user can access a secure area of your website within two hours. After you set the maximum number of logins within two hours, the system redirects or suspends the user once the limit is exceeded. This is also useful when someone is trying to log in to restricted areas of your website by guessing combinations of usernames and passwords.

Steps to Enable Leech Protection in cPanel

  1. Login to your cPanel account.
  2. Under the Security section, select the Leech Protection option.
    cpanel leech protection
  3. On the new page, you will get a list of directories and the current status of Leech Protection. Click on EDIT against the folder you want to enable protection.
    cpanel leech protection edit
  4. On the new page, Under Set up Leech Protection, enter the number of logins allowed per username in two hours.
    cpanel leech protection set login
    Note: If the users are reconnecting from the same network subnet, their accounts will not be disabled.
  5. In the next box, enter the URL to redirect users who exceeded the maximum number of logins within two hours.
    cpanel leech protection url
  6. To receive an email alert when an account is compromised, select the Send Email Alert To option and enter the email address in the text field.
    cpanel leech protection email alert
  7. To suspend or disable compromised accounts, check the Disable Compromised Accounts option.
    cpanel leech protection disable account
  8. Click on Enable at the end of the page to activate Leech Protection.
    cpanel leech protection enable
  9. Once the protection is enabled, you will receive a success message with all fields set.

Thats It! Your directories are now protected.

If you enjoyed this tutorial, then you would love our support! All Kemuhost hosting plans include 24/7 support from our amazing support team. Check out our web hosting plans and have your website migrated for free today!

Add a Comment

Your email address will not be published. Required fields are marked *