How does HttpHandler section work?!?

From: Dragos Gafita (aaa@aaa.com)
Date: 11/25/02


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.



Relevant Pages

  • Re: JPEG pictures do not display in WIN XP media center
    ... scroll down to JPG and JPEG entries. ... shows but when I say show Media Centre says the folders are empty. ... used to add pictures to media centre, ... pictures folder to a new one, then deleted the old one and let WIN XP ...
    (microsoft.public.windows.mediacenter)
  • Re: JPEG pictures do not display in WIN XP media center
    ... "type" of jpg. ... ....they will show up in Media Center. ... into that shared folder ... i had found once on a web site, the same solution that u gave for the pictures ...
    (microsoft.public.windows.mediacenter)
  • Re: Convert jpg to bmp
    ... when asked to confirm (this will remove the jpg from the database). ... way to go with inserting pictures, ... an EMF file in the OLE cell but only to have the filename show, ...
    (microsoft.public.access.modulesdaovba)
  • Re: Organising picture files
    ... RAW, converts to jpg and runs a pretty good browser and slideshow as ... We don't actually take that many pictures, we are on 1435 this year. ... If you tag or comment your pictures' EXIF data in GC, Spotlight ...
    (uk.comp.sys.mac)
  • Re: Tricks to impress Windows users
    ... all sorts of 'pictures' without knowing there might be an alternative. ... everyday digital cameras I've come across save in .jpg so people might ... drivers on my new Core 2 Duo box (with RAID5) or the AHCI ones? ...
    (uk.comp.sys.mac)