Quote:
Originally posted by 7hom4s
Hmmm okay... Just have to figure out how. Isn't there a way of blocking certain urls instead?
7hom4s
|
You shouldn't block certain URLs or IPs

Creating a file that will block hotlinking from all sites will kill you

I mean really kill you, you'll die and still won't complete the list

)
You're protecting yourself based on the referer URL. Now, this is the URL of the page the surfer came from. So if it's not from any of the domains listed above - he won't be able to access the site.
Remeber 2 things:
1. You should put the .htaccess file in the images dir ONLY or you block access to your .html files as well. For example:
/index.html
/images/gallery1/large/1.jpg
/images/.htaccess
2. Remeber that if you loaded a file with FireFox, it's now in the FF cache, so when you protect your files and try to access them thru FF they will open if they're protected. The best way to try if your hotlinking is working properly is to write the URL of an image directly in your browser's address bar, that way no referer URL is sent and the server will return "Access denied" and send you to the 404 error page (if any).
Regards,
ClickBuster