1. Knowledge Base
  2. >
  3. Results
  4. >
  5. Article

Preventing bandwidth theft or hotlink protection using the .htaccess editor

Hotlinking or bandwidth theft

Bandwidth theft (also called hotlinking and leeching) is the direct linking to a Website's files (images, video, etc.). People often use an img tag to display an image from someone else's Web page on their own site, eBay auction listing, blog or forum message post. When people request hotlinked images and other files from your site, your plan bandwidth is used, giving this practice the name of bandwidth theft.'

Prevent hotlinking using the .htaccess Editor

  1. Log in to your account Hosting Summary
    Click for the Hosting Summary
  2. On the left sidebar, click on .htaccess Editor. 
    .htaccess Editor
  3. From the .htaccess Editor page, click on Manage Hotlink Protection. 
    Manage Hotlink Protection
  4. Select the Enable hotlink protection checkbox.
  5. To permit requests for the files directly from URLs or links in email messages, select the Allow direct requests checkbox.
  6. If you want the requests to be redirected, enter the URL to which requests should be redirected.
  7. To specify URLs allowed to access files from your site, enter each one on its own line in the designated field. The system automatically adds the main URLs for your plan. 
  8. Enter the extensions to protect from hotlinking, separated by a space.
  9. Click Save to save your settings. Optionally, click Reset to return to the previous settings.
  10. To view the current settings for a directory that has hotlink protection enabled, click the directory in the Directories with Hotlink Protection table.
Important: All subdirectories of the selected directory will inherit the settings for the directory unless you apply different settings to specific subdirectories. You can edit these settings at any time.

Thanks for visiting! Since you landed on this page of our website, we wanted to let you know you visited one of our paid endorsers while researching your purchase. close