Preventing hot linking of images
September 12, 07 by ReniXThanks for visiting! If you're new here, you may want to subscribe to my Rss Feed. This blog posts regular Internet news, updates for apps, security, ideas, hacks, quick fixes and everything about hi-tech. Go ahead, subscribe to our feed!
To stop people from using your images on their site while the image is still on your site (stealing valuable bandwidth), add the following to the . htaccess file:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ - [F]
Read the rest of this entry »
Glad to see you here and Thank You for your visit. My name is Lirent, born in February 1983 in a small city in Europe. This is my blog about Hacks, Tips and Free Resourse for the WordWideWeb.





