If you offer files for download, such as e-books, software, templates, or course materials, you want paying customers to get them, not strangers who share your link everywhere. Leeching is the term for people who download your files again and again through a shared login or an open link, using up your bandwidth.
Leech Protection limits how many downloads a single user can make in a set period. It helps keep your bandwidth for the people you actually serve.
Open Leech Protection
- Log in to cPanel.
- In the Security group, click Leech Protection.

Choose the Folder to Protect
Select the directory that holds your downloadable files. Protect only the folders that need it. Turning protection on for your whole site can cause problems for normal visitors.

Set the Limit
- Turn protection on for the selected folder.
- Enter the number of downloads each user is allowed in the time period you choose.
- Choose where a user goes when they reach the limit. A simple message page works well.
- Click Save.
Start with a generous limit, then tighten it if you see abuse in your logs. A limit that is too low frustrates real customers who need to download twice, for example, after switching devices.

Test the Limit
Download a file as a normal visitor. Then repeat the download until you reach the limit. Check that the redirect page appears and that your settings match what you chose.
Pair It With Other Protection
Leech Protection controls repeated downloads. It does not stop someone from sharing a file once they have it. For full control, combine it with a password on the folder using Directory Privacy, covered on Day 10, and keep your customer login details private.
Selling downloads on your own site? A cPanel shared hosting plan from HoganHost gives you the space and tools to protect your files.



