Re: global.asa to prevent linkng to images?
From: Bill (nowhere_at_fooemail.com)
Date: 10/13/04
- Next message: John: "Re: Installing IIS Server on windows xp professional"
- Previous message: Jack: "Installing IIS Server on windows xp professional"
- In reply to: Ray Costanzo [MVP]: "Re: global.asa to prevent linkng to images?"
- Next in thread: Ray Costanzo [MVP]: "Re: global.asa to prevent linkng to images?"
- Reply: Ray Costanzo [MVP]: "Re: global.asa to prevent linkng to images?"
- Messages sorted by: [ date ] [ thread ]
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?
> >
> >
> >
>
>
- Next message: John: "Re: Installing IIS Server on windows xp professional"
- Previous message: Jack: "Installing IIS Server on windows xp professional"
- In reply to: Ray Costanzo [MVP]: "Re: global.asa to prevent linkng to images?"
- Next in thread: Ray Costanzo [MVP]: "Re: global.asa to prevent linkng to images?"
- Reply: Ray Costanzo [MVP]: "Re: global.asa to prevent linkng to images?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|