Information générale
Catégorie:
Fonctions Windows API
Viv,
Thanks so much for pointing me in the right direction. This definitely helps us reach a much higher level of security with a very minimal amount of work! We definitely appreciate your "passing thoughts". <g>
Rodd
>Hi,
>
>Looks as if you managed to turn a passing thought into something useable..<s>
>
>>
>I just happened to have the same user on both machines that I was playing with (in the peer-to-peer scenario .. Option 1). It looks this MUST be the case for CPWL to work peer-to-peer ... the user/password combo must exit on BOTH machines. (I'm a little disappointed to find that out.)
>>
>
>The docs say CreateProcessWithLogonW() is just a combination of LogonUser() and CreateProcessAsUser() and LogonUser() only allows logging on to the local machine. You just need to ensure the the user that you have logged on as has access rights to the relevant resources on the other machine.
>
>Good luck,
>Viv
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement