How to Enable Leech Protection in cPanel

How to Enable Leech Protection in cPanel

Now and then, the fear of getting a website hacked has been increasing day by day. There are millions of websites on the web, and many get hacked every day.

In the last couple of years, it’s been a drastic change in the security majors. It’s vital to take essential steps to secure your website.

Have you heard about Leeching and what’s Leech protection? In a few public forums, you may have seen people posting their username and password to fix an issue for their website.

When you run a multi-user website, and any of the users post their username and password publicly, unauthorized visitors can use their credentials to access the secure area of your site, it’s called leeching.

It’s crucial to stop everyone from accessing all the sensitive directories of your website. It’s better to offer limited access to your authors and contributors.

You will be happy to know that cPanel offers a solution to stop leeching by limiting the number of times a user can access the secure area of your website within a two-hour period.

In this tutorial, I am going to walk you through a simple process to enable leech protection for your site’s directories.

Enable Leech Protection for the Secure Area

If we talk about leech protection a few years, it wasn’t possible because not all web hosting companies were offering cPanel access to their users.

But now, almost every company provides access to cPanel, which is convenient to harden your site’s security.

Let’s have a look at the process to enable leech protection from cPanel.

Step 1:

As usual, log in to your cPanel account and search for the security section. You can easily find a Leech Protection icon, click to open.

Step 2:

On this new screen, you can see tons of directories to secure. You can enable leech protection for any of the directories.

For now, it’s better to choose public_html, because all of your website’s data is available in this directory. If you have an FTP account, make sure, you protect it.

Click on public_html.

Step 3:

This is the page, where you require to fill out all the information about enabling leech protection for your public_html directory.

  • Number of Logins per Username Allowed in a 2-Hour Period (It’s recommended to choose 4 login attempts, you can also pick two, the choice is yours.)
  • URL to redirect Leech users to (The best idea is to redirect them to an error page, maybe a 404 error page. If you have created any custom error page, fill in its URL.)
  • Fill in the email address, to which, you want an email notification whenever the leech protection redirects a user from the site. (Don’t forget to tick the checkbox.)
  • Disable Compromised Accounts (It’s a great way to suspend the accounts of the users, who have shared their login credentials publicly.)

Click on Enable button.

Step 4:

At this page, you can see the notification, Leech Protection Enabled, with the details you have filled out on the previous page.

Congrats, you have successfully enabled leech protection for your public_html directory. Depending on your choice and the sensitive data you store, you should secure other directories, too.

You should also know that you can disable leech protection, whenever you wish. Just choose the directory, and instead of enabling, you can see disable button.

There is nothing complicated.

Is it Hard to Secure Your Website Directories

Every time a user tries to build a website, they may encounter so many issues because of the lack of security basics. Securing a website isn’t as hard as people think.

If you search the web, you can find thousands of articles to use the advanced tricks to harden your website’s security. But only a few articles mention leech protection.

If you keep trying to add more and more security layers, you can manage to have a secure website, without anyone’s help.

Conclusion

When I started using cPanel, it was so confusing, but you ask today, I can confidently say that cPanel is one of the most accessible tools I have ever used.

The leech protection option is built-in, and you can enable it regardless of your website platform. Some people might use WordPress; others may have an interest in using Joomla.

Follow the steps and secure your sensitive data.

Check out these top 3 cPanel hosting services:

Hostinger
$2.99 /mo
Starting price
Visit Hostinger
Rating based on expert review
  • User Friendly
    4.7
  • Support
    4.7
  • Features
    4.8
  • Reliability
    4.8
  • Pricing
    4.7
HostArmada
$2.49 /mo
Starting price
Visit HostArmada
Rating based on expert review
  • User Friendly
    4.5
  • Support
    4.5
  • Features
    4.5
  • Reliability
    4.5
  • Pricing
    4.0
FastComet
$1.79 /mo
Starting price
Visit FastComet
Rating based on expert review
  • User Friendly
    4.7
  • Support
    5.0
  • Features
    4.8
  • Reliability
    4.5
  • Pricing
    5.0
  • Click this link and all your queries to best hosting will end.

How to Protect the wp-content Folder of Your WordPress Website

A how-to guide which explains how to secure the wp-content folder of a WordPress
3 min read
Arvind Singh
Arvind Singh
Hosting Expert

How to Stop Image Hotlinking Using cPanel

This how-to guide explains the easiest way to prevent image hotlinking using cPa
3 min read
Avi Ilinsky
Avi Ilinsky
Hosting Expert

How to Stop Image Hotlinking Using cPanel

This how-to guide explains the easiest way to prevent image hotlinking using cPa
3 min read
Angela Olaru
Angela Olaru
Senior Writer & Hosting Expert

How to Edit the CSS for your WordPress Site Using the cPanel Hosting Control Panel

As you know, the design of a WordPress website is controlled by
4 min read
Avi Ilinsky
Avi Ilinsky
Hosting Expert
HostAdvice.com provides professional web hosting reviews fully independent of any other entity. Our reviews are unbiased, honest, and apply the same evaluation standards to all those reviewed. While monetary compensation is received from a few of the companies listed on this site, compensation of services and products have no influence on the direction or conclusions of our reviews. Nor does the compensation influence our rankings for certain host companies. This compensation covers account purchasing costs, testing costs and royalties paid to reviewers.
Click to go to the top of the page
Go To Top