Knowledge Base cPanel

How to enable Leech Protection in cPanel

How To Enable Leech Protection

How To Enable Leech Protection

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

1 – Open cPanel (yourdomain/cpanel).
2 – Click on (Leech Protection) from Security section.
3 – The Leech Protection 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)
4 – 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.
5 – Enter the maximum number of logins that you wish to allow each user within a two-hour period.
6 – 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.
7 – To configure the system to send an email alert when Leech Protect activates, select the Send Email Alert To checkbox. Then, enter the email address to alert.
8 – To disable an account that exceeds the maximum number of logins, select the Disable Compromised Accounts checkbox.
9 – Click Enable.