Re: How does HttpHandler section work?!?
From: John Saunders (jws@jws.ultranet.com)
Date: 11/25/02
- Next message: Ricardo Martins: "COM INterop Security Problem"
- Previous message: Dragos Gafita: "How does HttpHandler section work?!?"
- In reply to: Dragos Gafita: "How does HttpHandler section work?!?"
- Next in thread: Dragos Gafita: "Re: How does HttpHandler section work?!?"
- Reply: Dragos Gafita: "Re: How does HttpHandler section work?!?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "John Saunders" <jws@jws.ultranet.com> Date: Mon, 25 Nov 2002 05:43:00 -0500
Are .jpg files even getting to ASP.NET? Check the IIS configuration under
"Home Directory". JPEG files aren't normally mapped to ASP.NET, so your
configuration doesn't matter. Configure the .jpg extension like .aspx is
configured and you should be ok.
-- -- John Saunders Internet Engineer john.saunders@surfcontrol.com "Dragos Gafita" <aaa@aaa.com> wrote in message news:e2a4D6FlCHA.716@tkmsftngp11... > Hi! > I have a weird problem. In my web.config file I've added the following > lines: > > <httpHandlers> > <add verb="*" path="*.jpg" type="System.Web.HttpForbiddenHandler"/> > </httpHandlers> > > I did so because I wanted to prevent any .jpg from being downloaded. All > .jpg are located in a directory called "Pictures" that belongs to the app > dir. Why am I still able to view the pictures and save them using the > browser?!? Can anyone, please, tell me what's wrong? > Thank you. > > > >
- Next message: Ricardo Martins: "COM INterop Security Problem"
- Previous message: Dragos Gafita: "How does HttpHandler section work?!?"
- In reply to: Dragos Gafita: "How does HttpHandler section work?!?"
- Next in thread: Dragos Gafita: "Re: How does HttpHandler section work?!?"
- Reply: Dragos Gafita: "Re: How does HttpHandler section work?!?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|