Set Up: Leech Protection in cPanel
Leech Protect is a security feature offered within cPanel that allows you to detect unusual levels of activity in password-restricted directories on your website.
Leeching is when users publicly post their username and password, unauthorized visitors can use those credentials to access secure areas of your website.
With the Leech Protection feature in cPanel, you can limit the number of times a user can access a secure area of your website within a two-hour period. After you set the maximum number of logins within a two-hour period, the system redirects or suspends users who exceed it. This is useful, also, say someone is trying to login to restricted areas of your website by guessing combinations of usernames and passwords.
Enable Leech Protection
- Click Leech Protection under Security in cPanel.
- Click on the name of the directory that you want to protect. You can click the folder icon next to the folder name to open the folder.
- Under Set up Leech Protection, enter the number of logins allowed per username in a two-hour period.
- To redirect users who exceeded the maximum number of logins within a two-hour period, enter a URL to which you wish to redirect them.
- 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.
- To disable compromised accounts, check the Disable Compromised Accounts option.
- When ready, click Enable.