Hi, I want to use the Windows authentication mechanism in the Web.Config to make sure the users are authenticated against a particular Windows group, like:
I would also like to use the ASP.Net Forms authentication, in that if they are validated against this group, they are automatically validated against the aspnetdb database, that has all the user roles etc. Is there a way to do this? I would like to be able to use the role providers that comes with ASP, but I have to use the Windows authentication, and only for one domain group. Any ideas?
Thanks,
James
Code:
<authentication mode="Windows">
</authentication>
<authorization>
<allow roles="DOMAIN\WINDOWSGROUP" />
<deny users="*"/>
</authorization>
I would also like to use the ASP.Net Forms authentication, in that if they are validated against this group, they are automatically validated against the aspnetdb database, that has all the user roles etc. Is there a way to do this? I would like to be able to use the role providers that comes with ASP, but I have to use the Windows authentication, and only for one domain group. Any ideas?
Thanks,
James