Re: Authentication for remote Processes and Services
From: Rob Teixeira [MVP] (RobTeixeira_at_@msn.com)
Date: 09/24/04
- Next message: Rob Teixeira [MVP]: "Re: System.Security.Cryptography standards"
- Previous message: Mary Chipman: "Re: About Best practices..."
- In reply to: Vivek: "Authentication for remote Processes and Services"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 23 Sep 2004 18:07:55 -0400
When dealing with impersonation, be careful. Not all impersonation logon
tokens have network priveleges. In other words, depending on how you make
the API calls, you might impersonate a user as far as the local machine is
concerned, but a remote machine might reject that logon because it isn't a
primary token or a token with network priveleges. Make sure you pass the
correct the flags and use the correct API calls.
-Rob Teixeira [MVP]
"Vivek" <v_mangal@hotmail.com> wrote in message
news:e1cq6eaoEHA.2764@TK2MSFTNGP11.phx.gbl...
> Hi,
> I am trying to get remote process and servicecontroller objects. While
they
> code works if i have privilages in the remote machine, it does not when i
> dont have them. Now my question is how do i specify
> username/password/privilages when i use process and servicecontroller
> objects. Any code example would be really helpful.
>
> Thanks
> Vivek
>
>
- Next message: Rob Teixeira [MVP]: "Re: System.Security.Cryptography standards"
- Previous message: Mary Chipman: "Re: About Best practices..."
- In reply to: Vivek: "Authentication for remote Processes and Services"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|