Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I hide the user Input (password) in an InputBox ?

Status
Not open for further replies.

jvlalonde

Programmer
Aug 29, 2000
2
CH
I'm writing a script (VBscript running on WSH - NT4 ) to send me mails about our system state in the company. To be efficient, this script must connect to an OpenVMS machine via Telnet. For that I would like the user to type Username/Password in an InputBox, which is not too difficult. My problem is that I'm unable to hide the password input in the Box. Could you help me ???
( If it's impossible to do that in VBscript, maybe is it possible in JScript ? ).
 
you could use Secure Socket Layer; or encrypt it on the client, send it to the server, and decrypt it there
 
To my knowledge, this functionality isn't supported in VBScript or for similar functions in JScript or JavaScript. Can't you just use standard HTML text box form elements?

Also, out of curiosity, how are you having them enter a user name/password pair when there's only one line in the InputBox? Are they actually entering both on the same line with a separator? If so, that's another reason to go with form elements as it obviates the need to do string parsing to separate the pairs and eliminates the additional errors that the users will make.
 
I wanted to separate the user input (Username/Password) in two different InputBoxes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top