How to setup hotlink protection in cPanel

Leech Protect is one of the Security protection provided by cPanel. If users are publically posting their username and password to the restricted area of your site, this will compromise your website security. Enabling Leech protection will restrict such users. This will also prevent the users from multiple login attempts within a short time. It will redirect and suspend the compromised accounts to a specific URL.

HOW TO SETUP LEECH PROTECTION IN CPANEL? 

  1. Login to the cPanel using your username and password.

  2. Click on the Leech Protection inside security section.




  3. Now, select and click on the folder which you want to protect.

  4. Once you select the directory, we will need to set up the required permission in the new tab.



  • Number of Logins per username allowed within 2 hours period: Set the number of login attempts can be made within 2 hours. Users will not be able to log in than the limit allocated by you.

  • URL to Redirect Leech Users: Enter the URL into the box by this, you can redirect the leech user to a specific URL if they exceed the maximum number of login attempts.

  • Send Email Alert: You can send an email to the same user's email account. 

  • Disable Compromised Account: By selecting this, You can suspend the account and this will also disable the user's password. You can enable the account by resetting the password of the user account.

  • Disable Protection: You can deactivate the Leech Protection by clicking on the Disable button under Disable protection.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to add a record with the DNS Zone Editor in cPanel?

  How to add a record with the DNS Zone Editor in cPanelThis demo assumes you've already logged...

How to add an MX entry in cPanel?

  How to add an MX entry in cPanelThis demo assumes you've already logged in to cPanel, and are...

How to backup your website in cPanel?

  How to backup your website in cPanelThis demo assumes you've already logged in to cPanel, and...

How to Change PHP Directives Globally from WHM with EasyApache 4?

You can follow below steps to change the values of PHP directives for all the websites running a...

How to change PHP version from cPanel?

The latest version of cPanel/WHM (58.3.x) is shipped with the EasyApache 4.0. It allows you to...