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

ID: Q137024


The information in this article applies to:
  • Microsoft Visual Basic Standard, Professional, and Enterprise Editions, 16-bit and 32-bit, for Windows, version 4.0


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 :
Version : WINDOWS:4.0
Platform : WINDOWS
Issue type :


Last Reviewed: January 21, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.