Re: Authorization for non aspx files
From: Craig Deelsnyder (cdeelsny@yahoo.com)
Date: 08/11/02
- Next message: Frank Racis: "Re: User.IsInRole"
- Previous message: Wade Mascia [MS]: "RE: ASP.NET Error in instancing a COM+ object."
- In reply to: gg: "Authorization for non aspx files"
- Next in thread: gg: "Re: Authorization for non aspx files"
- Reply: gg: "Re: Authorization for non aspx files"
- Reply: gg: "Re: Authorization for non aspx files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Craig Deelsnyder" <cdeelsny@yahoo.com> Date: Sat, 10 Aug 2002 18:03:24 -0500
Forms Auth is an ASP.NET concept/application, so only things that run in
that process are covered. Which is really only aspx files. Map the file
extensions to the aspnet worker process in IIS.
"gg" <nospam@visualsoftware.net> wrote in message
news:MPG.17bee7907cffde23989686@news.microsoft.com...
> I have a folder in a Webapp called Admin with a web.config:
> <?xml version="1.0" encoding="utf-8" ?>
> <configuration>
> <system.web>
> <authorization>
> <allow roles="Admin"/>
> <deny users="*"/>
> </authorization>
> </system.web>
> </configuration>
>
> So only users in role Admin (formsauthentication) can enter.
> but all the .htm and .xml files in this folder are visible to everyone.
> (just type in the url)
> Is it possible to define authorization for these files also with
> asp.net?
>
>
> thnx
- Next message: Frank Racis: "Re: User.IsInRole"
- Previous message: Wade Mascia [MS]: "RE: ASP.NET Error in instancing a COM+ object."
- In reply to: gg: "Authorization for non aspx files"
- Next in thread: gg: "Re: Authorization for non aspx files"
- Reply: gg: "Re: Authorization for non aspx files"
- Reply: gg: "Re: Authorization for non aspx files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|