View Full Version : Preventing Image Hotlinking
ntkvms
04-23-2006, 10:34 AM
Hi guys,
Do you know, does discountasp.net provide a method that prevents image hotlinking (or bandwidth leeching if you prefer). Sure, there is the javascript that can stop someone from right clicking, but that doesn't stop them from downloading your html file and getting the image path from there.
I know there is IIS software out there, but didn't know if discoutasp.net provided that software/service.
Thanks.
joelnet
04-24-2006, 06:44 AM
http://joel.net/me/weblog.aspx?weblogs_show=1a2e93ef-2a47-4b38-8930-8fbafcbe4e22
Is this what you want to do?
Joel Thoms
DiscountASP.NET
http://www.DiscountASP.NET
bruce
04-26-2006, 02:36 AM
Yes. You'll need to create a support ticket and ask for wildcard mappings.
Bruce
DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)
ntkvms
04-26-2006, 12:22 PM
Yes, that is what I am looking for - thank you.
Now, how do I implement this? Does discountasp.net map the wildcard as you stated in your tutorial? I've dropped the code into my global.asax file, but it doesn't seem to do anything.
Thanks.
J.Bey
04-27-2006, 04:31 AM
Can we do exactly the same thing with ASP.Net 1.1?http://community.discountasp.net/emoticons/confused.gif Joel?
Coz i would like to have my company website mapped as well..http://community.discountasp.net/emoticons/hop.gif
J. L.
Technical Support/IT Admin/MIS Developer
Maxtop Enterprises Inc.
http://www.maxtop.ca</CODE>
Post Edited (J.Bey) : 4/27/2006 4:34:43 PM GMT
joelnet
04-27-2006, 10:58 AM
I don't have any asp.net 1.x applications to test anymore. It will work if the global.asax file supports "Application_BeginRequest"
Joel Thoms
DiscountASP.NET
http://www.DiscountASP.NET
vBulletin® ©Jelsoft Enterprises Ltd.