Version: 18.1
Revision: 42 Build 154
Introduction: This source was made for user to block bandwidth theif.
1.] Download Notepad++ from this website and install it…
———————
http://filehippo.com/download_notepad/
2.] Copy this source code and save your file as…
File type: .htaccess
Notes: save this file as: “All types”
Warning: you must clear your system cache to see the changes…
Details: add some of your offending website, blogs or search engines…ect.
Example…
——————–
Tips: you can cancel out the dashes and use this style instead…
———————————–
———————————–
Single website linking - blocked
—Copy Source Code—
—End Source Code—
If you want to block multiple websites, you can use this source code which is provided below.
Notes: the last line on “RewriteCond %{HTTP_REFERER}”, it must have an [NC] codes or it will not work!
Multiple website linking - blocked
—Copy Source Code—
—End Source Code—
Notes: you can also add different extension to enhance your file protection. To do this just take a look and compare this code below from the above…
—Copy Source Code—
—End Source Code—
Copyright 2001-2008 Lair360
Blocking all hotlinker!
If you want to block hotlinking completely, so that no one can hotlink your files, you can use this source instead of the above.
Advice: replace some of my trusted website with your own website. After that, just upload the file to your ftp server.
Warning: if you’re going to redirect someone to a different image, that image must not be on your FTP server or you will create an infinite loop!
—Copy Source Code—
—End Source Code—
This source is a little lighter and less aggressive. It’s also easy to maintain…
—Copy Source Code—
—End Source Code—
This is the final source to allow only trusted website to hotlink your images.
You must also allow your website on the first line to allow your webpage to upload this images…
—Copy Source Code—
—End Source Code—
End of Part One...
Revision: 42 Build 154
Introduction: This source was made for user to block bandwidth theif.
1.] Download Notepad++ from this website and install it…
———————
http://filehippo.com/download_notepad/
2.] Copy this source code and save your file as…
File type: .htaccess
Notes: save this file as: “All types”
Warning: you must clear your system cache to see the changes…
Details: add some of your offending website, blogs or search engines…ect.
Example…
——————–
Code:
RewriteCond %{HTTP_REFERER} ^http://(www\.)?mysite\.com [NC]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?google\.com [NC]
Tips: you can cancel out the dashes and use this style instead…
———————————–
Code:
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?myspace.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?blogspot.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?livejournal.com/ [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpe [L]
Single website linking - blocked
—Copy Source Code—
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?livejournal\.com/ [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpe [L]
If you want to block multiple websites, you can use this source code which is provided below.
Notes: the last line on “RewriteCond %{HTTP_REFERER}”, it must have an [NC] codes or it will not work!
Multiple website linking - blocked
—Copy Source Code—
Code:
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?myspace\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?blogspot\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?livejournal\.com/ [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpe [L]
Notes: you can also add different extension to enhance your file protection. To do this just take a look and compare this code below from the above…
—Copy Source Code—
Code:
RewriteRule .*\.( jpeg|jpg|gif|png|mp3|zip|rar)$ - [F]
Copyright 2001-2008 Lair360
Blocking all hotlinker!
If you want to block hotlinking completely, so that no one can hotlink your files, you can use this source instead of the above.
Advice: replace some of my trusted website with your own website. After that, just upload the file to your ftp server.
Warning: if you’re going to redirect someone to a different image, that image must not be on your FTP server or you will create an infinite loop!
—Copy Source Code—
Code:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(.*\.)?lair360.srhost.info [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(.*\.)?lair360.wordpress.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(.*\.)?stonerocket.net [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ - [F]
This source is a little lighter and less aggressive. It’s also easy to maintain…
—Copy Source Code—
Code:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?lair360.srhost.info/ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?lair360.srhost.info/blog/ [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ - [F]
This is the final source to allow only trusted website to hotlink your images.
You must also allow your website on the first line to allow your webpage to upload this images…
—Copy Source Code—
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?lair360.srhost.info [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?lai360.srhost.info/blog/ [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?stonerocket.net [NC]
RewriteRule \.(jpg|jpeg|png|gif|zip)$ - [NC,F,L]
End of Part One...