How does HttpHandler section work?!?
From: Dragos Gafita (aaa@aaa.com)
Date: 11/25/02
- Next message: John Saunders: "Re: How does HttpHandler section work?!?"
- Previous message: Heath Stewart: "Re: Permissions needed for a Windows Forms Control to call a WebService"
- Next in thread: John Saunders: "Re: How does HttpHandler section work?!?"
- Reply: John Saunders: "Re: How does HttpHandler section work?!?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Dragos Gafita" <aaa@aaa.com> Date: Mon, 25 Nov 2002 10:39:19 +0200
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: John Saunders: "Re: How does HttpHandler section work?!?"
- Previous message: Heath Stewart: "Re: Permissions needed for a Windows Forms Control to call a WebService"
- Next in thread: John Saunders: "Re: How does HttpHandler section work?!?"
- Reply: John Saunders: "Re: How does HttpHandler section work?!?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|