View Full Version : Preventing external image linking
jordanbrock
10-24-2005, 03:10 AM
Howdy,
Does anyone know of a simple (eg like .htaccess on Apache) way of preventing external websites from linking to images on an IIS server? Some myspace and xanga people have got hold of some images on one of my client sites, and apart from the bandwidth issue, it's skewing the stats.
Any ideas?
Cheers,
Jordan
You can rename your filenames.
DiscountASP.NET
http://www.DiscountASP.NET
jordanbrock
11-01-2005, 03:18 AM
It's kind of difficult to do that (rename images) because the images are automatically named by the CMS on the site.
There are apparently third party components, but it appears they are all ISAPI filters or the like, which means it would need to be something that DiscountASP.Net wanted to do. It's a shame, because it's amazingly simple on apache and lighttpd. Oh well.
Thanks for the suggestions.
bruce
11-01-2005, 12:32 PM
not out of the box. IIS doesn't have anything to prevent hotlinking.
i believed there are some ASP.NET HTTP module that would allow you to do that but it requires quite a bit of change to your site.
Bruce
DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)
bruce
11-02-2005, 08:26 AM
Unfortunately, we do not install any ISAPI filter because if it crash, it take down the whole server.
Bruce
DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)
jordanbrock
11-02-2005, 10:48 AM
Thanks anyway Bruce.
vBulletin® ©Jelsoft Enterprises Ltd.