Enable Leech Protection in cPanel

How to Enable Leech Protection in cPanel?

Simplify Article With:
Share Article With: Link copied

Do you want to block users from sharing their login access to your website? Enable Leech Protection to block visitors from publicly sharing usernames and passwords, preventing unauthorized access to your protected directories.

Let’s guide with steps to enable leech protection in cPanel.

 

What is Leech Protection?

Leech Protection is a security feature, primarily in cPanel, that prevents unauthorized access to password-protected website areas by detecting and blocking excessive login attempts from the same credentials, often caused by password sharing or brute -force attacks, protecting sites like membership areas from credential abuse and ensuring only legitimate users get in on the website

 

What Enable Leech Protection Does?

Leech Protection cPanel detects unusual login activity in password-restricted directories. After setting a maximum number of logins within a two-hour period, the system redirects or suspends users who exceed it. If the limit is crossed or unusual activity is detected (such as the same credentials from multiple IP addresses), it will redirect users to a URL you specify, suspend the account, or send an email alert.

 

Process for the Leech Protection cPanel:

Set Up Leech Protection:

Step 1: Log in to cPanel of your website

 

Step 2: Navigate or search Leech Protection. 

Search the leech protection

 

Step 3 : Select the folder, example “Public_html”, which you want to enable leech protection and click “Edit” option near the folder name.

Select Public html folder

 

Step 4: Fill the required field to set up Leech Protection where you want to redirect and limit login attempts. Click “Enable” button once details are entered.

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

URL to Redirect Leech Users – Redirect to specific URL if the user exceed the number attempt set.

Send Email Alert – Enter email address where you want to receive the report when leech protection cPanel redirects a user from the site.

Disable Compromised Accounts – Disable user who exceeds the maximum number of logins.

Enable Leech Protection

 

Step 5: Once enabled, click “Go Back” option to create users with password for the directory on next step.

Leach Protection Enabled

 

Manage Users:

Step 1: Under Manage User section on bottom of the page, click “Manage Users” Button.

Manage Users - Leech Protection

 

Step 2: Click the checkbox ‘Password protect for this directory’. Click ‘Save’ and go back.

Enable Password Protect Directory

 

Step 3: Under ‘Create User’ section, enter the username and password to create a new user for the directory and click ‘Save‘.

Create User for directory privacy

 

Disable Leech Protection:

Step 1: Go to Leech Protection cPanel option and click Edit button near the directory in which you enabled leech protection.

Step 2: In the set up leech protection cPanel page, under Disable Protection” section click “Disable” button.

Disable Password Protection

 

Step 3: Once disabled, click go back option to remove the password protection on next step.

Step 4: In the same page under Directory Privacy section, Untick the Password Protect this Directory option and click save

Untick the password protect directory

Other Protection Ways in cPanel:

1. Hotlink Protection

2. Two Factor Authentication

3. Install SSL

4. Reset WP Password

 

Reference Video:

Hope this information was helpful and allows you to Enable Leech Protection and manage it easily.