Ask a Question related to ASP.NET Security, Design and Development.
-
ben #1
ASPNet Process Token flowing with Impersonated Identity
I have a problem with a service-oriented application that is using
impersonation.
MachineA (Web Server) - Hosts webservices
MachineB (App Server) - Talks to multiple types of resources (SQL,
WMI, HTTP).
MachineA remotes to MachineB (remoting is hosted via IIS).
MachineA and MachineB have IIS using Anonymous w/ a service account
(MyUser1). The web.config for both MachineA and MachineB are using
<identity impersonate="true" />.
The ASPNet account uses default settings (MACHINE / AUTOGENERATE).
When I call a web service on MachineA communication with MachineB
occurs correctly. When MachineB calls a remote resource (say WMI on
MachineC), the call occurs correctly and I get a valid response. On
first glance everything looks wonderful.
After a short number of requests, the ASPNet account on MachineC will
become locked out. When I look at the security audit logs on
MachineC, I see the logon from the expected identity (MyUser1), BUT I
also see a failed logon attempt from MachineB/ASPNet.
It looks like for some reason, MachineB is still flowing it's own
ASPNet process identity (in addition to the impersonated user) and is
unable to authenticate (MachineB/ASPNet will not have the same
password as MachineC/ASPNet).
Why would this happen? MachineB communicates with MachineC using a
variety of different mechanisms (SQL via ADO.Net, WMI, and HTTP).
When making the SQL or WMI calls I see this behavior, with the HTTP I
don't.
Any ideas? It seems like I'm missing something really simple here.
- Ben
ben Guest
-
start process as impersonated account for NETSH DHCP?
Am trying to automatically query and update DHCP servers via a web application with VB.NET. Testing with a privileged account, defined thus in... -
expiring passwords with impersonated identity
Hi all ! Imagine ASP.NET application impersonating specific identity with webconfig: <identity impersonate="true" userName="accountname"... -
IIS 6.0 ASP.NET Process Identity and ODBC
Hi, My WS ASP.NET application runs on IIS 6.0 and should connect to FoxPro DB on file server over OLE DB ODBC connection. Special user is created... -
machine.config process identity problem
I'm having some trouble getting ASP.NET to run under the process identity of a domain user. I created a user in the same domain in which the... -
worker process aspnet_wp.exe identity
If the woker process is configured to be run under username="machine" in machine.config and impersonate=true under web.config, will the impersonated...



Reply With Quote

