IIS Authentication vs. WindowsIdentity
- From: "Steve Lynch" <user@xxxxxxxx>
- Date: Fri, 1 Sep 2006 18:05:30 -0600
Why do I get different results from WindowsIdentity.GetCurrent().Name than what
is defined for authentication on the IIS virtual directory? For example in IIS6
I have the VD set to Windows Integrated Authentication only, yet the property
WindowsIdentity.GetCurrent().Name or WindowsIdentity.GetCurrent(false).Name
contains "NT AUTHORITY\NetworkService". The server variables seem wrong,
AUTH_USER and REMOTE_USER are empty, but LOGON_USER contains the correct
DOMAIN\USER info.
This seems different than traditional .ASP pages under IIS6.
Thanks.
.
Relevant Pages
- Re: IIS6, Integrated Windows Auth, and IE6 Integrated Windows Auth
... Your custom Application has issues on IIS6. ... Integrated authentication enabled, and try to load up a static file like ... application -- after IIS has successfully authenticated with NTLM -- so it ... may be altering server behavior incorrectly? ... (microsoft.public.inetserver.iis) - Application Pools, Domain User Accounts and Service Principal Names
... I've been involved in building an application in ASP.NET which has utilised application pools in IIS6 to allow the site to run under the credentials of a domain user and authenticate with SQL Server. ... Having recently rolled this application out to a number of sites, we have encountered a problem where Windows integrated authentication is enabled, but users credentials are not accepted. ... (microsoft.public.dotnet.framework.aspnet.security) - Re: Windows 2003:IIS 6:File server
... What authentication type are you using? ... delegated without additional configuration involving Active Directory. ... Pass-through authentication should just work out-of-the-box with IIS6. ... this authentication problem. ... (microsoft.public.inetserver.iis.security) - Re: IIS 4 & 6 username in logfile
... Is there no way to allow anonymous access, providing my own authentication ... transmit the user information to IIS6? ... (microsoft.public.inetserver.iis) - Re: Capturing the Windows NT Username from IE 5.5+
... IIS Virtual Directory should allow anonymous users (not all users will ... ASP.NET web.config authentication should implement forms authentication ... > StringBuilder result = new StringBuilder; ... (microsoft.public.dotnet.framework.aspnet.security) |
|