Re: <allow users=""> question
- From: Alexey Smirnov <alexey.smirnov@xxxxxxxxx>
- Date: 24 May 2007 13:07:26 -0700
On May 24, 9:52 pm, Tom <T...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
is it possible to add a bunch of users to group and only allow group to
access the web page or do I need to add each user to the web.config file?
yes, sure
Specify the "roles" property when configuring <deny> and <allow>
elements, as shown here:
<authorization>
<allow roles="DomainName\WindowsGroup" />
<deny users="DomainName\UserName" />
</authorization>
http://msdn2.microsoft.com/en-us/library/acsd09b0.aspx
http://msdn2.microsoft.com/en-us/library/ms998358.aspx
.
- Prev by Date: Re: ASP.NET event validation
- Next by Date: Re: Sending form data in email
- Previous by thread: Question About Session State
- Next by thread: Re: <allow users=""> question
- Index(es):
Loading