Hotlink Protection

Overview

A hotlink occurs when someone embeds content from your site in another site and uses your bandwidth to serve the files. You can use this interface to prevent this issue.

To enable hotlink protection, perform the following steps:

  1. Click Enable. A new interface will open and display the Allowed referrers and Protected extension lists.

  2. Click Go back.

  3. To allow specific sites to hotlink to your site, add their URLs in the URLs to allow access menu.

  4. To block direct access to files of specific types, add those file extensions to the Block direct access for the following extensions text box.

    • For example, to block all .jpg images, add .jpg to the Block direct access for the following extensions text box.
    • When you block these file types, others cannot hotlink to those types of files from your website regardless of any other settings.
  5. To allow visitors access to specific content through the URL, select the Allow direct requests checkbox. For example, if you enable this setting, a visitor could enter http://www.example.com/folder/example.jpg as a URL to access the example.jpg file.

  6. To redirect requests for certain content, enter the URL to which you want to redirect your visitor in the Redirect the request to the following URL text box.

  7. Click Submit.

To disable hotlink protection, click Disable.

More To Explore

Overview This interface allows you to view and monitor resource usage on your cPanel account. For more information, read CloudLinux’s documentation. Note This feature only

Overview Warning We strongly recommend that you enable ModSecurity™ for all of your domains. Only disable ModSecurity while you troubleshoot ModSecurity-related problems. × Dismiss alert This interface allows you to enable

Overview Warning: The Archive interface does not appear in your cPanel interface unless your system administrator enables the following settings: The Enable Email Archiving support