Authorization of specific pages
From: Andy G (ajgould_at_iastate.edu)
Date: 02/10/05
- Next message: Andy G: "Re: Authorization of specific pages"
- Previous message: Paul Glavich [MVP ASP.NET]: "Re: DllImport to unmanaged"
- Next in thread: Andy G: "Re: Authorization of specific pages"
- Reply: Andy G: "Re: Authorization of specific pages"
- Reply: Andy G: "Re: Authorization of specific pages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 10 Feb 2005 08:41:58 -0600
I have my authorization in web.config set to <deny users="?" />, this is
what I want because we use forms authenthentication that sets a auth cookie.
We have a few pages that need to be accessed without the user having the
auth cookie. Is there a simple way to list the certain pages that you want
"unprotected"? I tried using the below and I get that stupid server error
telling you that your custom errors need to be set to off or something. I
put the below outside the already established <configuration> and
<system.web> settings. Thank you for any help or direction you might give
me.
<location path="file\path\here.aspx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
- Next message: Andy G: "Re: Authorization of specific pages"
- Previous message: Paul Glavich [MVP ASP.NET]: "Re: DllImport to unmanaged"
- Next in thread: Andy G: "Re: Authorization of specific pages"
- Reply: Andy G: "Re: Authorization of specific pages"
- Reply: Andy G: "Re: Authorization of specific pages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]