Re: Passing Access Tokens across processes
From: Dmitrii S. Zakharov [MSFT] (dmitriiz_at_online.microsoft.com)
Date: 04/24/04
- Next message: ivan: "Smart card detection when using MSGina"
- Previous message: Victor Pereira: "Re: Creating "My" Store"
- In reply to: Abhishek: "Passing Access Tokens across processes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 23 Apr 2004 16:24:28 -0700
Hi,
these are 3 apis you can use
http://msdn.microsoft.com/library/en-us/security/security/impersonateclient.asp?frame=true
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/impersonatesecuritycontext.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/com/htm/cmf_a2c_6mwk.asp
or you can just pass username/domain/password info from one process to
another and do LogonUser()
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/logonuser.asp
you will have to invent your own way of passing the credentials though
-Dmitrii
"Abhishek" <abhi_narulkar@burntmail.com> wrote in message
news:eRLFo#PKEHA.2716@tk2msftngp13.phx.gbl...
> Hi,
> Can I pass the access token (HANDLE to a token returned by
> OpenProcessToken) from one process to
> another process, so that the other process impersonates the user and
> performs operations on the other process
> behalf.
> i.e Lets say I have a process 'A' and process 'B'. The process A wants to
> delegate some of its responsibility
> to process 'B'. Process 'B' wants the user credentials of process 'A' to
> perform those tasks.
> Question: Can process 'A' pass on its credentials to process 'B' to
perform
> those tasks. If YES, how?
>
> Thanks.
>
>
- Next message: ivan: "Smart card detection when using MSGina"
- Previous message: Victor Pereira: "Re: Creating "My" Store"
- In reply to: Abhishek: "Passing Access Tokens across processes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|