Michael,
>From our help:
Encrypting Passwords
The Key, Tab and Enter commands take a second True/False parameter.
Password, which, if true, will cause the command to look up a password
stored in encrypted form in the registry. In addition, the password is not
sent to the Status property so that it remains invisible to the user. The
password is stored in the registry with the command:
Sub UpdatePassword Key, Password
in which Key is the name of the password and Password is the password that
is stored. UpdatePassword can be used in the immediate window to store a
password on the fly, or in a script to automatically record a change in
password in a secure fashion. Note: This does not inhibit a scripter from
suspending the script and viewing the password by keying it to another field
in the application.
As an example, if the password "welcome1" is stored in the registry with the
command:
UpdatePassword "MyPassword", "welcome1"
then the following command will Enter the password "welcome1":
Enter "MyPassword", True
For additional protection, if the provided Key starts with an "@" character,
the password is not decrypted and keyed unless the application currently
satisfies the At condition following the "@" character. So if the
password's prompt is "Password:" and the password for that prompt is
"squiggle" then the command to save the password is:
UpdatePassword "@Password:", "squiggle"
and the Key command would be:
Key "@Password:", True
Rich McNeil
Boston Software Systems
866 653 5105
www.bostonworkstation.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Blake, Michael
Sent: Monday, September 19, 2005 6:16 PM
To: [email protected]
Subject: [Talk] Password Masking
Hi,
I am just beginning to use Boston Workstation, version 8.
Is there a way to mask passwords so that they are not viewable in the
code or on the screen when running scripts?
I am interested specifically in interfacing with MEDITECH, but I would
welcome general solutions as well.
TIA,
Michael
Michael Blake | Programmer Analyst
Bloomer Medical Center | Mayo Health System
(715) 568-6100 | [EMAIL PROTECTED]
There are 10 types of people, those who understand binary and those who
don't.
********************Confidentiality Notice********************
This message is intended for the sole use of the individual and entity to
whom it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law. Any
unauthorized review, use, disclosure or distribution of this email message,
including any attachment, is prohibited. If you are not the intended
recipient, please advise the sender by reply email and destroy all copies of
the original message. Thank you.