# What is cPanel hotlink protection?

Hotlink protection is a feature in cPanel that is used to prevent other websites
from directly linking to your website's files and resources. This can be useful
in a variety of situations, such as when you want to prevent other websites from
using your bandwidth, or when you want to protect your content from being used
without your permission.



To use hotlink protection in cPanel, you first need to enable the feature for
your website. This is done by logging in to your cPanel account and navigating
to the “Hotlink Protection” section. In this section, you can enable hotlink
protection for your website by clicking the “Enable” button.



Once hotlink protection is enabled, you can specify which files and resources
should be protected from hotlinking. This is done by entering the file
extensions that you want to protect in the “Allow Direct Request” field. For
example, if you want to protect all of the images on your website, you can enter
“jpg” in the field.



After you have specified the file extensions that should be protected, you can
customize the other settings as needed. For example, you can specify which
websites should be allowed to hotlink to your files and resources, or you can
specify the default image that should be displayed for hotlinked files.



When you are finished, click the “Save” button to complete the process. Your
hotlink protection settings will be saved, and your website's files and
resources will be protected from hotlinking.