HighTechTalks DotNet Forums  

Can groups be entered in the authorization tab?

ASP.net Security microsoft.public.dotnet.framework.aspnet.security


Discuss Can groups be entered in the authorization tab? in the ASP.net Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Randy Galliano
 
Posts: n/a

Default Can groups be entered in the authorization tab? - 11-07-2007 , 12:22 PM






Hello,

I put some users in a group in Active Directory who can access an
ASP.NET intra net site internally. When I go to the authorization tab
on the ASP.Net configuration settings, and add the individual users, the
users can get onto the site. When I add the group, of which the users
are members, authentication never works. Can groups be used?

Regards,

Randy.

Reply With Quote
  #2  
Old   
Joe Kaplan
 
Posts: n/a

Default Re: Can groups be entered in the authorization tab? - 11-10-2007 , 08:55 AM






Yes, they can. The typical problem here is that they are not specified
using the name that Windows uses to do the match, so you don't get a valid
match.

What I typically recommend is writing a little code to dump out the groups
in the user's token so you can see what's in there and see how they are
formatted using the Groups property on WindowsIdentity and the Translate
method on IdentityReferenceCollection.

In some cases, the user may not be in the groups you think they are.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Randy Galliano" <randy.galliano (AT) thegallianos (DOT) com> wrote

Quote:
Hello,

I put some users in a group in Active Directory who can access an ASP.NET
intra net site internally. When I go to the authorization tab on the
ASP.Net configuration settings, and add the individual users, the users
can get onto the site. When I add the group, of which the users are
members, authentication never works. Can groups be used?

Regards,

Randy.



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.