(Home >> Security >> 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.

  • When you disable hotlinks, make certain that you allow hotlinks for any necessary domains (for example, your website's subdomains and the URL that you use to access your cPanel account).
  • If the URL that you use to access your cPanel account is excluded from the List the URLs to which you wish to allow access list, you may not see embedded images in the HTML Editor in the File Manager interface (Home >> Files >> File Manager).

Enable hotlink protection

To enable hotlink protection, perform the following steps:

  1. Click Enable.
  2. To allow specific sites to hotlink to your site, add their URLs to the List the URLs to which you wish to allow access list.
  3. To block direct access to files of specific types, add those file extensions to the Block direct access for the following extensions list. 
  4. Select Allow direct requests to allow visitor to access specific content through the URL. 
  5. 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.
  6. Click Submit.

Disable hotlink protection

To disable hotlink protection, click Disable.

When you click Disable, cPanel deletes the entries in the List the URLs to which you wish to allow access list. Before you disable hotlink protection, we recommend that you save the list locally.