Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  How-Tos  >  Learn what Leech Protection is and how to enable and disable it via cPanel?
Top Scroll

Learn what Leech Protection is and how to enable and disable it via cPanel?

 3 min

This Knowledgebase article describes how to use the Leech Protection via cPanel to prevent users from publicly posting their username and password.

What is Leech protection?

When users publicly post their username and password, unauthorized visitors can use their credentials to access secure areas of a website. This practice is known as Leech protection.

cPanel offers protection against leeches, by limiting the number of times a user can access an area of a website within two hours. For example, you can limit four logins to a user over a period of two hours. If a user exceeds the limit for login, he will be redirected to another URL, and gets an alert by e-mail, or even the account id deactivated.

Leech protection activation for a directory

To enable leech protection for a directory, follow these steps:

  1. In the Security section of the main screen of cPanel, click leech protection.
  2. Click the name of the directory you want to protect.
  3. Type the number of entries allowed to a user within a period of two hours.
  4. Enter an address URL to redirect users to another website when the account is compromised.
  5. To receive an email notification when an account is compromised, select the Send email alert to the checkbox option, and then, type an email address.
  6. To disable accounts that are committed, select disable compromised accounts check box.
  7. Click Enable.

Disable leech protection for a directory

To disable leech protection for a directory, follow these steps:

  1. In the Security section of the main screen of cPanel, click leech protect
  2. Click on the name of the directory for which you want to disable the leech protection directories that have leech protection currently enabled that have a small picture of a leech next to them.
  3. To turn down protection, click Disable.

Related: How to configure hotlink protection in cPanel

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
30
MINS
59
SECS
Claim the discount before it’s too late. Use the coupon code:
STORYSAVER
Note: Copy the coupon code and apply it on checkout.