This article covers step by step process to configure Leech Protection in cPanel. Basically, Leech Protection is an easy to configure security feature by 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.
Importance of Leech Protection in cPanel:
1. Leeching is when users publicly post their username and password, unauthorized visitors can use those credentials to access secure areas of your website.
2. 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.
3. After you set the maximum number of logins within a two-hour period, the system redirects or suspends users who exceed it.
4. This is useful, also, say someone is trying to login to restricted areas of your website by guessing combinations of usernames and passwords.
To Enable Leech Protection in cPanel:
1. Click Leech Protection under Security in cPanel.
2. 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.
3. Under Set up Leech Protection, enter the number of logins allowed per username in a two-hour period.
4. 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.
5. 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.
6. To disable compromised accounts, check the Disable Compromised Accounts option.
7. When ready, click Enable.