Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When running the following from the command line in Windows XP (to another XP machine):

net use "\\IP\c$" MyPassword /user:TheUser

Is the password passed securely? If not, is there a secure way?

share|improve this question
up vote 2 down vote accepted

No, that will be seen by any packet sniffing tool out there. However, Net Use "\ip\c$\" should attempt to authenticate you as the current logged in user. if that does not work, (or you manually specify a different user with /user:theUser) a password prompt should pop up. That should be secure. Just click "remember this password"

share|improve this answer
Out of interest: How does Windows hide the password when it passes it from the password prompt? – Umber Ferrule Feb 23 '11 at 18:47
it does not actually pass the password, but a 'hash' of the password. It can then compare the hash it received to the one that is stored for that user. (see for an explanation of hashes. – Brian Feb 23 '11 at 21:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .