cPanel Hotlink Protection

Hotlink Protection is a security measure that you can enable in your cPanel to prevent external sources (ie other websites) from being able to fetch and load certain filetypes that you want protected for use only by your site.

This can be a good way to help prevent other sites from being able to embed things like pictures, CSS, or javascript for your site on their own.

Note: this does not prevent your content from being downloaded, it only prevents direct embedding/linking.

How to Enable Hotlink Protection

To enable hotlink protection for your site, go to the ‘Hotlink Protection’ section of your cPanel, located in the Security category.

cPanel Security

From that page click the blue ‘Enable’ button to enable hotlink protection.

You can then also specify what sites are allowed to link to/embed your content (you would want to keep your own sites in this list).

Additionally, this is where you specify the filetypes that you want to enable hotlink protection for. For example, if you want to protect image files, you would want to protect file extensions like “jpg”, “png”, “gif”, etc.

You are then also given the option to allow direct access to the files, while still protecting them from embedding. This means that you can access the files directly in a web browser, but another site would not be able to embed them.

Finally, you can also set a URL that someone is redirected to instead when their request is blocked by the hotlink protection.

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Changing Joomla! Username

If you speed through the Joomla! installation through Softaculous, you may miss where it asks for...

cPanel Virus Scan

How to Use the Virus Scanner in cPanel This article describes how to use the virus scanner in...

Definition of Security Icons In cPanel

The Security section in cPanel allows you to keep your site protected and secure from a wide...

Generating a CSR Request (and What it is)

Now that you’ve purchased an SSL through Ch-center, you’ll receive an email with the link to...

Steps to Install and Setup an SSL from Scratch

This guide starts after you’ve fully generated your CSR request and received the official SSL...