Re: global.asa to prevent linkng to images?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Bill (nowhere_at_fooemail.com)
Date: 10/13/04


Date: Wed, 13 Oct 2004 11:01:14 -0400

Thanks for the info. I didn't know that I couldn't place a Response.Redirect
in Session_OnStart.

Hey, in a related issue, is there a reference detailing what I can and
cannot place into a global.asa file?

Bill.

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:%23PKcXdSsEHA.820@TK2MSFTNGP12.phx.gbl...
> global.asa cannot prevent hotlinking. While, yes, if someone goes
directly
> to http://yoursite/image.jpg, a new session will be started and
> Session_OnStart will be fired, that file cannot send back any redirects or
> anything like that if that's what you were thinking. Unfortunately, IIS
> does not have a built-in way of preventing hotlinking. This solution is
as
> good as any. http://www.aspfaq.com/show.asp?id=2276
>
> Ray at work
>
> "Bill" <nowhere@fooemail.com> wrote in message
> news:uourZGNsEHA.2252@TK2MSFTNGP11.phx.gbl...
> > If I've got images in a directory, and I define that directory as an
> > application directory (so I have a global.asa in it), what does my
> > global.asa have to look like to prevent linking of images?
> >
> >
> >
>
>



Relevant Pages

  • Save File
    ... Hey there, ... My web application allows users to upload files to the server, ... images. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Hand without
    ... Hey Thanks for the quick reply it works well. ... >>| I have a page which has images, I use the onclick to call a JS ... Prev by Date: ...
    (microsoft.public.scripting.jscript)
  • Avatar season 3 trailer!
    ... Hey, all! ... Wowza, talk about ... I guess those images on the cover of that DVD were real ...
    (rec.arts.anime.misc)
  • Re: choc tr
    ... hey, duc, let us know when you post some images, either at your place or ... for a digiboy. ...
    (rec.outdoors.fishing.fly)
  • Re: Printing from pocketpc
    ... why not print the hebrew letters as ... I guess it's a bit far-fetched but hey if that's all you got left ... Prev by Date: ...
    (microsoft.public.dotnet.framework.compactframework)