I\'m not sure if this question is more appropriate for Stackoverflow or SuperUser or what StackExchange site...
Basically I\'m launching a third-party app from C# wi
If you set an ACL for the new process, it should restrict who can read the command line information. An empty ACL, granting no permissions, might block access to administrators using Task Manager, though my first guess is that it will not. (Note that an empty security descriptor is not the same thing as an empty ACL. One implicitly grants permission to everyone, the other implicitly denies it.)
Of course, an administrator could always replace plink.exe
with something that stores the password somewhere. So I'm not sure that worrying about what the administrator can see with Task Manager makes sense!