Re: Issue with ASP.NET client, COM Interop, and Identity impersonation

From: Willy Denoyette [MVP] (willy.denoyette_at_pandora.be)
Date: 10/01/04


Date: Fri, 1 Oct 2004 23:57:14 +0200


"Anil Krishnamurthy" <akrishnamurthy@nospam.air-worldwide.com> wrote in
message news:OsByoV$pEHA.1296@TK2MSFTNGP12.phx.gbl...
> We have an ASP.NET application that uses COM objects through Interop. The
> web application requires access to network and database resources and
> hence,
> needs to impersonate a domain account. The problem is that even when it is
> configured to run under a certain identity through Web.config, the
> impersonation is not carried through to COM library. Consequently, the
> code
> in COM object runs under a local account and any code that needs to access
> network will not work correctly.

How is that possible? if asp.net is running in a domain identity context AND
you don't have impersonation enabled, the in-proc COM object should run with
the same domain user's credentials, where else would the local account
identity come from?

Willy.



Relevant Pages

  • Re: Issue with ASP.NET client, COM Interop, and Identity impersonation
    ... > impersonation is not carried through to COM library. ... > in COM object runs under a local account and any code that needs to access ... > network will not work correctly. ...
    (microsoft.public.dotnet.framework)
  • Re: Issue with ASP.NET client, COM Interop, and Identity impersonation
    ... > impersonation is not carried through to COM library. ... > in COM object runs under a local account and any code that needs to access ... > network will not work correctly. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Issue with ASP.NET client, COM Interop, and Identity impersonation
    ... > impersonation is not carried through to COM library. ... > in COM object runs under a local account and any code that needs to access ... > network will not work correctly. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: PLEASE HELP - USENET/Proxy Security Question
    ... > tunnel won't work for me because the proxy blocks VPN connections. ... > network security folks anymore since they've all been transistioned to the ... >this local account, I pointed everything to the proxy and it worked. ... The laptop then masquerades as the legit ...
    (alt.computer.security)
  • Re: PLEASE HELP - USENET/Proxy Security Question
    ... You should regret asking about breaking into a network system (your ... local computer) and abusing the network privileges you were provided TO ... The idea of connecting to a remote host via an encrypted SSH ... > this local account, I pointed everything to the proxy and it worked. ...
    (alt.computer.security)

Loading