• Article for your preferred language does not exist. Below is international version of the article.

Article ID: 1026, created on Oct 6, 2008, last review on May 10, 2014

  • Applies to:
  • Plesk 8.x for Linux/Unix


Bandwidth theft or "hotlinking" is a direct linking to web site's files (images, video, etc.). It can be prevented for example with
mod_rewrite module. Place rules like below into the vhost.conf or .htaccess files for the needed domain (for example www.DOMAIN_NAME.TLD):

RewriteEngine on
RewriteCond % !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?DOMAIN_NAME\.TLD(/)?.*$ [NC]
RewriteRule \.(gif|jpg|jpeg|png|swf)$ - [NC,F]

b8ef5052d936e902043e41759118114e a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c 0efe2234e2ce513f2186f26c68447702

Email subscription for changes to this article
Save as PDF