Skip to content
HoganHost blog

Stopping Image Theft With Hotlink Protection in cPanel

Hotlinking happens when another website displays your images by linking to them directly. The image appears on their page, but it is stored and served from your account. That uses your bandwidth and your storage, and you get none of the visits.

Hotlink Protection stops other sites from doing this. It lets your own site and the sites you choose keep using your files.

Open Hotlink Protection

  1. Log in to cPanel.
  2. In the Security group, click Hotlink Protection.

Turn It On

  1. Switch Hotlink Protection to enabled.
  2. Check the list of allowed domains. This list should include your own domains, so your pages keep loading their images.
  3. Add any partner site that legitimately uses your images, then click Submit.

Choose a Blocked Image

When another site tries to hotlink an image, you can decide what it sees. Some options send a plain warning image. Others show nothing at all. Pick the option that makes the misuse obvious without disrupting your own visitors.

If you have a warning image in your account, you can point to it here. Keep the file small, so the warning loads quickly.

Test the Protection

Open a page on your site that uses images, and confirm the images still load. Then open a test page on another domain that links to one of your images. The image should be blocked or replaced.

Know the Limits

Hotlink Protection stops direct links, not the copying of images that have already been downloaded. Someone can still save an image and upload it elsewhere. Adding a watermark or small image sizes helps with that.

Protecting your site from image theft is only one part of keeping it secure. Explore HoganHost’s SSL and security services to see the other protections available.

Share this article
Written by

Join the conversation.

Your email address will not be published. Required fields are marked *

Your next chapter starts here

Put your next big idea online.

The right hosting. A name of your own. A real team in your corner.

Explore Hosting