Knowledge Base

PRB: Asterisks Don't Hide an RDC Password Set in Design Time

Article ID: 137024

Article Last Modified on 12/9/2003


APPLIES TO


This article was previously published under Q137024

SYMPTOMS

When you set the Password property of the RemoteData control (RDC) at design time, it is possible for others to read the password on your screen as it is entered because the password is not filtered by asterisks. When the ODBC dialog box does hide the password by converting it into asterisks.

CAUSE

The RDC does not control the edit field in the Property window and therefore cannot force asterisks to be displayed.

RESOLUTION

Passwords that need to be protected as sensitive information should not be coded into the Properties window of the RemoteData control.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Start a new project in Visual Basic. Form1 is created by default.
  2. Place a RemoteData control on Form1, and set the Connect property of the RemoteData control to ODBC.
  3. Type a value into the Password property of the RemoteData control. Note that the password is readable.
  4. Run the program. After you select a DataSource, the ODBC driver manager displays the login dialog, and the password is displayed as asterisks.

Additional query words: 4.00 vb4win vb4all

Keywords: kbprb KB137024