Using Hotlink Protection

Hotlink Protection prevents other web sites from directly linking to certain files (typically images) that are on your web site. This tutorial will assume that you are logged into your cPanel. If you are having trouble doing that, please see the tutorial named "How to Login to cPanel".

The purpose of Hotlink Protection is so that people can't link directly to images within your web site. You want to prevent this especially if you have copyrighted images, or simply to save on your bandwidth usage. By directly linking to your site, they are stealing your bandwidth.

On the main page of your cPanel, scroll down to the section called Security, and click on the icon named Hotlink Protection. On the Hotlink Protection screen, make sure all your own sites are listed in the "URLs to allow access" box, so you are able to hotlink with your own images.

In the next box, list all the extensions, or file types you want protected. For example, you might list .jpg,.jpeg,.gif,.png,.bmp, and so forth, all separated by commas.

In the next box enter a URL you want to redirect to, for anyone who tries to hotlink to your files and/or images. This could be something like your homepage, or an error page.

Next, if you want to enable someone to manually enter the URL of a protected file, check the allow direct requests box. Then click the Submit button.

This will take you to the confirmation screen, which will show you which web sites you have allowed to Hotlink, and the protected extensions.

To disable Hotlink Protection, simply click the Disable button. Click the HOME button in the upper left corner, to return to the main cPanel page. This ends the tutorial on Hotlink Protection. You now know how to add and disable the protection, and you can return here to add or remove file types to the protected list at any time.

You can now exit cPanel by closing your browser, or by using the Logout button in the upper right corner. Remember, if you are using a public computer, ALWAYS Logout of cPanel before closing due to security reasons.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Password Protect a Directory

This tutorial will teach how to password protect a directory. Password protecting a directory...

How To Use The IP Deny Manager

This tutorial will teach you how to use the IP Deny Manager to block access to your web site from...

CAPTCHA Telling Humans and Computers Apart Automatically

This tutorial is to explain CAPTCHA, an acronym which stands for "Completely Automated Public...