Under which credentials COM makes calls from another process?
From: Antonio (antoniopassado_at_hotmail.com)
Date: 07/08/04
- Next message: Prezent Tenz: "RE: PFXExportCertStoreEx"
- Previous message: Alstersjo: "Re: CreateProcessWithLogonW on Server 2003"
- Next in thread: Valery Pryamikov: "Re: Under which credentials COM makes calls from another process?"
- Reply: Valery Pryamikov: "Re: Under which credentials COM makes calls from another process?"
- Maybe reply: Antonio: "Re: Under which credentials COM makes calls from another process?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 8 Jul 2004 09:58:42 +0200
Hello everybody,
We are trying to access some objects hosted by our service application from
ASP (IIS). Is it possible somehow to execute all the methods under specific
user account? NOTE: We can not put impersonation code into each method, we
want to be able to impersonate once in ASP, call required methods on
required objects and then revert if needed. How can this be implemented?
In our service application we also have access to objects that represent
clients connections authenticated via SSPI. Those objects have methods
Impersonate() and Revert() (accessible from ASP) which impersonate current
thread with the credentials of particular authenticated client and revert
this impersonation appropriately. Can we use these methods somehow for
described above scenario? It seems that when we just call Impersonate() we
impersonate a thread inside our application's process but we can not be sure
that the next call will be executed in exactly the same thread. Therefore we
see that sometimes following calls are executed under SYSTEM account and
sometimes under authenticated one.
A relative question: when COM marshals call from one process to another,
does it also save somehow information under whose credentials this call was
made? Can we for example impersonate thread inside ASP and make a COM call
from it?
Thanks in advance,
Antonio
- Next message: Prezent Tenz: "RE: PFXExportCertStoreEx"
- Previous message: Alstersjo: "Re: CreateProcessWithLogonW on Server 2003"
- Next in thread: Valery Pryamikov: "Re: Under which credentials COM makes calls from another process?"
- Reply: Valery Pryamikov: "Re: Under which credentials COM makes calls from another process?"
- Maybe reply: Antonio: "Re: Under which credentials COM makes calls from another process?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|