Re: How do I run using Windows Identity (Windows 2003)



Yep - looks good.

NETWORK SERVICE is builtin and not listed - if you want to grant access (e.g. in SQL SERVER) - use that name:

NT AUTHORITY\NETWORK SERVICE

The AspNetTokenRoleProvider is not needed - haven't found any advantages using it (besides that you get a RolePrincipal instead of a WindowsPrincipal which is confusing IMO)





-----
Dominick Baier (http://www.leastprivilege.com)

Hi;

This appears to be working but I want to make sure I am doing it
right.

I want to be able to run where it passes my Windows Identity to my
ASP.NET app. But I want the ASP.NET app running as whatever user is
the default for that - NOT as the client user.

What do I set?

In IIS Authentication Methods I turned Enable anon off and I checked
Integrated Windows Authentication.

My web.config is:
<authentication mode="Windows"/>
<identity impersonate="false"/>
<authorization>
<allow roles="THIELEN\Windward Administrators, THIELEN\Windward
Users"/>
<deny users="*"/>
</authorization>
<roleManager enabled="true"
defaultProvider="AspNetWindowsTokenRoleProvider"/>
This shows me running as NT AUTHORITY\NETWORK SERVICE and
automatically authenticates me. The thing is, I can't find NETWORK
SERVICE as a user (or group) in either the users/groups on the machine
I install to. I know it's a built-in account but shouldn't it be
listed?

And how does this relate to the user ASPNET and the group IIS_WPG?

Cubicle Wars - http://www.windwardreports.com/film.htm



.



Relevant Pages

  • Re: Change in ASP.Net authentication between Win2000 and Win2003
    ... > is turning on/off Kerberos is occuring. ... It control how IE deals with "Authentication: ... when you put IIS6 in a domain and have "Integrated Windows Authentication" ...
    (microsoft.public.windows.server.security)
  • Re: Change in ASP.Net authentication between Win2000 and Win2003
    ... > is turning on/off Kerberos is occuring. ... It control how IE deals with "Authentication: ... when you put IIS6 in a domain and have "Integrated Windows Authentication" ...
    (microsoft.public.inetserver.iis.security)
  • Re: Need help configuring Wireless Connection profile
    ... and I can only use the intel OR windows utility, not both at the same time. ... Windows authentication for all users,4129,LRG\ryanv,4149,Wireless WPA2 ... SMALL BUSINESS SERVER: ... STEP #1 Install Certificate Services ...
    (microsoft.public.windowsxp.general)
  • RE: Beginners Questions
    ... We do use Windows form on the presentation layer which is on ... terminal server and call web services on the business logic side. ... of using "proxy" authentication on SQL Server. ... > I have written an app with a Windows Forms UI that is deployed to clients ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: form authentication and webservices
    ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... We will be using Windows Authentication on the Web Services side (same ... Dominick Baier ...
    (microsoft.public.dotnet.framework.aspnet.security)