Re: Mime types
From: Kristofer Gafvert (kgafvert_at_NEWSilopia.com)
Date: 04/08/04
- Next message: Kristofer Gafvert: "Re: prompt for User name & password"
- Previous message: Kristofer Gafvert: "Re: inetinfo eats memory"
- In reply to: Johan Karlsson: "Mime types"
- Next in thread: Johan Karlsson: "Re: Mime types"
- Reply: Johan Karlsson: "Re: Mime types"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 8 Apr 2004 18:35:23 +0200
In addition to what other have said:
If you are afraid of "hot linking" stealing bandwidth from you, it would be
a nicer solution to have an ISAPI filter. One of the benefits is that it
will not execute an asp file every time someone downloads an image. ISAPI
filter should in general work faster.
-- Regards, Kristofer Gafvert - IIS MVP Reply to newsgroup only. Remove NEWS if you must reply by email, but please do not. http://www.ilopia.com/ "Johan Karlsson" <johan.karlsson@adnome.se> wrote in message news:%23Gcz4JTHEHA.3748@tk2msftngp13.phx.gbl... > Hi, > > I've been searching around for some time now and cannot find an answer to my > question. > I know that is possible to register more MIME types into a website, and even > a folder. But can you restrict mime types for one folder. > > Example: I have a folder /test under www.somesite.com. From this folder I > would like to restrict GIF files from being downloaded. The best scenario > would be to only allow asp files to be parsed and nothing else. The purpose > is that I want to authenticate download of resources in a folder. I cannot > move the files due to design restrictions in another part of the system. > When a user uploads a file, lets say, Image.gif, an asp file is > automatically created with the namne Image.gif.asp that takes care of > authentication and creating the stream. The whole idea might be bad, thats > why I'm asking you guys. > > Thanks > /Johan > >
- Next message: Kristofer Gafvert: "Re: prompt for User name & password"
- Previous message: Kristofer Gafvert: "Re: inetinfo eats memory"
- In reply to: Johan Karlsson: "Mime types"
- Next in thread: Johan Karlsson: "Re: Mime types"
- Reply: Johan Karlsson: "Re: Mime types"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|