Ask a Question related to ASP.NET Security, Design and Development.
-
Dan Ackermann #1
Exclude Files from HttpForbiddenHandler
Hi all,
By default .cs files are protected from downloading by adding ".cs" to
the HttpForbiddenHandler in machine.config.
How to ALLOW (exclude from HttpForbiddenHandler) a specifig file
(myfile.cs) to download ???
TIA
Dan Ackermann
Dan Ackermann Guest
-
how to exclude models from light?
in the multiuser demo (link below) i noticed on some computers, especially on macs with openGL, that the groud has sometimes effects of the... -
tar and --exclude
Am running ubuntu breezy updated to 2.6.12-10-686 I was trying to backup my system following the instructions here: ... -
How to exclude classes?
How to exclude classes from being compiled in run-time? I guess it can decrease time (and size) to compile an mxml file. We can do it for FlashMX... -
Exclude text from search
I have a verity search in a site which also has other cold fusion coding in it, for example cfif statments. The verity search if picking up the code... -
how can I exclude a user from an import
On Wed, 18 Dec 2002 21:02:55 +0100, Frederic Payant <> wrote: SYS is never exported and never imported, because any DDL will modify the SYS... -
Nicole Calinoiu #2
Re: Exclude Files from HttpForbiddenHandler
Dan,
Add an httpHandlers section to your web.config file to map the specific
file(s) to StaticFileHandler. e.g.:
<httpHandlers>
<add verb="GET" path="myfile.cs" type="System.Web.StaticFileHandler" />
</httpHandlers>
HTH,
Nicole
"Dan Ackermann" <dummy@intos.ch> wrote in message
news:%23n9D$rQKEHA.2704@TK2MSFTNGP10.phx.gbl...> Hi all,
> By default .cs files are protected from downloading by adding ".cs" to the
> HttpForbiddenHandler in machine.config.
>
> How to ALLOW (exclude from HttpForbiddenHandler) a specifig file
> (myfile.cs) to download ???
>
> TIA
>
> Dan Ackermann
>
Nicole Calinoiu Guest



Reply With Quote

