Leech Protection detects unusually frequent logins to a password-protected website directory. You can set a two-hour login limit and choose how cPanel responds when a directory user exceeds it.
Configure Leech Protection
- Log in to cPanel and open Security > Leech Protection.
- Browse to the password-protected directory. Click folder icons to navigate and the directory’s name to configure it.
- Enter the maximum permitted logins per user within two hours.
- Enter a redirect URL outside the protected directory.
- If needed, enable email notifications and enter the recipient address.
- Choose whether to disable directory users who exceed the threshold.
- Click Enable.

Exceeding the threshold is not proof that an account was hacked. The disable option affects the protected directory’s login credentials, not the entire cPanel hosting account. Reset affected directory-user passwords to restore access.
Check the protection
Test normal access and confirm the redirect and notification settings. Use Disable in the same interface to stop protection. This feature requires a compatible web server; LiteSpeed does not support it.