password protect a script
Have any of you ever password protected the operation of a script? I want to set up a method by which you have to type in a password in order to perform a particular script. I also do not want the characters you type in to be visible. In order words each character of the password that you type in would be replaced by x's or dashes or etc.
Thanks for your time and I would really appreciate your help if anyone knows how.