replylalit
asked on
Password as a argument
Dear all,
I am developing a console based application and it requires a password validation entry field. I want that password should not be printed in screen (rather some character should be displayed instead)
eg.
We have to pass the password as an argument in the following format:
c:\myexe ps = ****** and then enter
where
myexe is first argument ( name of my application)
ps= is the second argument
the third argument is password AND THIS SHOULD BE IN CODED FORM eg. ********
Please comment!
I am developing a console based application and it requires a password validation entry field. I want that password should not be printed in screen (rather some character should be displayed instead)
eg.
We have to pass the password as an argument in the following format:
c:\myexe ps = ****** and then enter
where
myexe is first argument ( name of my application)
ps= is the second argument
the third argument is password AND THIS SHOULD BE IN CODED FORM eg. ********
Please comment!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
replylalit:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
You can either encrypt the command line string or store the password encrypted in a temporary file.
Cheers.