Getting remote Logon User

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I'd like to write an application that finds out for every machine in my
network that it is running and if yes, which user is logged on this machine.
I'm asking myself if this is possible at all (security...), even if I am
Administrator on the remote machine!

Regards Alexander
 
You would need to install a Windows Service on each machine, that acts as a
..NET remoting server and has appropriate permissions to obtain the machine
info you want. You would then call this from a remoting client across the
network. Ideally you would encrypt the data returned by the service, and
probably have the server require some sort of password as well. And keep
the source to the clients and servers, and technical documentation of their
APIs, under lock and key with as few people on a "need to know" basis as
possible, as you would be in effect creating a "back door" to sensitive info
on all these machines. Also you would want to consider obfuscating the
assemblies involved.

--Bob
 
All depends on what you mean with your "network", and what OS you have
running on the individual machines.
If you are running in a Domain realm things are less complicated security
wise, but the thing to look at is the System.Management namespace and WMI.

Willy.
 
Hi,

Network means one Domain (company network) and all machines are running on
XP Prof.

WMI is heavy stuff, could you give me a hint, where these informations are
located?

Regards Alexander
 
Back
Top