I have a website with Impersonation turned on.
IIS Windows Authentication is on and Anonymous Access is OFF.
SQL Server security has a Domain\TestUser account added
I logged on with Domain\TestUser.
Browsing a test page shows that HttpContext is set to Domain\TestUser and ApplicationPool is set to Domain\TestUser - which it should... however I get an error browsing my target web page (which attempts to connect to sql) which tells me that "NT AUTHORITY\ANONYMOUS LOGON" is attempting to connect to SQL.
Further to this I ran a script from Microsoft web page which tells me that my account will NOT flow through to SQL. http://msdn.microsoft.com/en-us/library/bsz5788z.aspx
Question is - why??
IsWellKnown(WellKnownSidType.InteractiveSid))
IsWellKnown(WellKnownSidType.BatchSid))
IsWellKnown(WellKnownSidType.ServiceSid))
None of the above returns True, but what do they mean!?
Thanks in advance,
KS