Portal Home > Knowledgebase > Security > How do I configure hotlink protection?

How do I configure hotlink protection?

  1. Login to cPanel.
  2. Locate and click on the "Hotlink Protection" icon within the "Security" category.
  3. Open the Hotlink Protection link in cPanel.
  4. To enable/disable Hotlink protection, click on the "Enable" or "Disable" button.
  5. Under the "URLs to allow access" heading, enter the name of your domain and any subdomains that will require access to server resources (images, etc).
  6. Under the next heading, enter the extensions of files you want to block direct access to. Many common file types will be listed by default.
  7. Choose whether or not to allow direct access to the file (The file can be access directly from the browser, just not from another web page.)
  8. You can enter a "Redirect" URL for requests that attempt to access a hotlink protected resource. This page may be a "Hotlinking is not allowed" page.
  9. Updating your hotlink protection settings.
  10. Click the "Submit" button to save your settings.

Also Read