Ask a Question related to ASP.NET General, Design and Development.
-
george d lake #1
Windows-based Authentication problem.
Hi,
I need to grant access to a NT usergroup and to 3 other users that are
not in that group.
here is my web.config.
<authentication mode="Windows" />
<identity impersonate="true" />
<authorization>
<deny users="*" /> <!-- Allow all users -->
<allow users="user1" /> <!-- Allow all users -->
<allow users="user2" /> <!-- Allow all users -->
<allow users="user3" /> <!-- Allow all users -->
<allow roles="VYP\Domain Hum_Resources" />
</authorization>
george d lake Guest
-
[REPOST] Problem in Windows based Authentication
Hello All, I use windows based authentication for my ASP.NET web app. I have disabled anonymous access of my web application too from the IIS... -
How do you set Role-Based authorization for Windows Authentication?
I am working on a company ASP.NET Intranet web application. I am using IBuySpy protal as my "go-by". It uses Forms authentication. I changed it... -
ASP.NET (IIS 6.0) Windows authentication/SQL Server problem
Hi, On Windows 2000, I use the following connection string in my ASP.NET applications: <add key="ConnectionString"... -
ASP.Net Windows Authentication problem = Login dialog keeps popping up
I'm using Windows Authentication in my C# ASP.Net intranet application. I have a "Delete" column in a DataGrid which I only want displayed if the... -
Problem with authentication when using Windows XP in IIS5
I have a page that authenticates users by reading Request.ServerVariables("AUTH_USER") and Request.ServerVariables("AUTH_TYPE"). When users try to... -
Ken Cox [Microsoft MVP] #2
Re: Windows-based Authentication problem.
You'll want to look up the WindowsPrincipal.IsInRole Method to get at NT
groups.
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemsecurityprincipalwindowsprincipalclassi sinroletopic2.asp[/url]
You can also look at the roles attribute in the web.config:
<allow roles="Admins"/>
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfallow.asp[/url]
"george d lake" <georgel@valleyyellowpages.com> wrote in message
news:u4EJOzlRDHA.2432@TK2MSFTNGP10.phx.gbl...
Hi,
I need to grant access to a NT usergroup and to 3 other users that are
not in that group.
here is my web.config.
<authentication mode="Windows" />
<identity impersonate="true" />
<authorization>
<deny users="*" /> <!-- Allow all users -->
<allow users="user1" /> <!-- Allow all users -->
<allow users="user2" /> <!-- Allow all users -->
<allow users="user3" /> <!-- Allow all users -->
<allow roles="VYP\Domain Hum_Resources" />
</authorization>
Ken Cox [Microsoft MVP] Guest



Reply With Quote

