Using the Leech Protection Interface in cPanel

cPanel Tutorials and How To Guides

Simple to use hosting dashboard fix website issues yourself

Detecting unusual levels of activity

Updated: November 3, 2025
By: RSH Web Editorial Staff

Contact Us

Menu

cPanel - Security - Leech Protection

The Leech Protection feature allows you to detect unusual levels of activity in password-restricted directories on your website

After you set the maximum number of logins within a two-hour period, the system redirects or suspends users who exceed that maximum.

Enable leech protection

RSH Web Services offers a cPanel guide for beginners, understand core features to help you manage domains, emails, and hosting for an optimized website experience

To enable Leech Protect for a directory, perform the following steps:

1)The Leech Protect window will appear. Select which of the four main directories you wish to view in the file window:

  • • Home Directory /home/user
  • • Web Root /public_html/www
  • • Public FTP Root /public_ftp
  • • Document Root /public_html

2) Select the directory that you wish to protect.

  • • Click the appropriate folder icon () to navigate to a different folder
  • • Click the desired folder's name to select it

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

4) To redirect users who exceed the maximum number of logins within a two-hour period, enter a URL to which you wish to redirect them.

5) To configure the system to send an email alert when Leech Protect activates, select the Send Email Alert To checkbox and enter the email address to alert.

6) To disable an account that exceeds the maximum number of logins within a two-hour period, select the Disable Compromised Accounts checkbox.

7) Click Enable.

Disable leech protection

To disable leech protection, perform the following steps:

1)The Leech Protect window will appear. Select which of the four main directories you wish to view in the file window:

  • • Home Directory /home/user
  • • Web Root /public_html/www
  • • Public FTP Root /public_ftp
  • • Document Root /public_html

2) Select the directory that you wish to protect.

3) Click the appropriate folder icon () to navigate to a different folder.

4) Click the desired folder's name to select it.

5) Click Disable.

Manage users

To add, edit, and delete users, click Manage Users to navigate to cPanel's Password Protect Directories interface
Home >> Security >> Password Protect Directories

See our WHMCS cPanel Pre-Made Articles. Enhance User Support Efficiency

YouTube Video - Manage Password and Leech Protection

cPanel Help Guides and Step-by-Step Tutorials
Regular updates, maintenance improvements and security measures

Tweet  Share  Pin  Email

Add Comment

* Required information
Drag & drop images (max 3)

Comments

No comments yet. Be the first!

Composed by our masterful copywriters

RSH Web Services offers a wide range of cPanel hosting services, from personal and professional to business Websites. We tailor our packages around your needs for the best possible solution