Re: form based authentication and free pages
From: Ben Amada (ben@powerpick.com)
Date: 09/27/02
- Next message: Ben Amada: "Re: form based authentication and free pages"
- Previous message: Jason: "A required privilege is not held by the client"
- In reply to: YA: "Re: form based authentication and free pages"
- Next in thread: YA: "Re: form based authentication and free pages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Ben Amada" <ben@powerpick.com> Date: Thu, 26 Sep 2002 15:25:33 -0700
"YA" <ra294@hotmail.com> wrote:
> Thanks for the example !
> Is it possible to allow access to a folder to only 1 user for example:
> <location path="protected">
> <system.web>
> <authorization>
> <allow users="Admin" />
> <deny users="?" />
> </authorization>
> </system.web>
> </location>
> Thanks ?
Hi YA,
You're close! Try using the code below. Note that the only difference
between the code below and your code (above) is that it should be deny
users="*" and not "?".
<location path="protected">
<system.web>
<authorization>
<allow users="Admin" />
<deny users="*" />
</authorization>
</system.web>
</location>
-- Ben
- Next message: Ben Amada: "Re: form based authentication and free pages"
- Previous message: Jason: "A required privilege is not held by the client"
- In reply to: YA: "Re: form based authentication and free pages"
- Next in thread: YA: "Re: form based authentication and free pages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]