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.

Was this answer helpful?

 Print this Article

Also Read

Hidden Files

The purpose of this tutorial is to explain what hidden files are, and how to make them visible in...

How to Password Protect a Directory

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

Using Index Manager

This tutorial will teach about using the Index Manager. The Index Manager allows you to customize...

How To Create Additional FTP Accounts

Let's learn how to create additional FTP accounts. FTP Accounts allow you to access your web...

How to View Website Statistics in cPanel using AWStats

This tutorial will teach you how to check on who is viewing your website using the program in...