Is my password visible when opening a standard user connection from visual basic?
From: Roel Schreurs (schreurs_roel@hotmail.com)
Date: 10/31/02
- Next message: Peter Borg: "Re: SQL Server & SSL"
- Previous message: linda deng[MS]: "RE: Changing authentication mode..."
- Next in thread: Ron Talmage: "Re: Is my password visible when opening a standard user connection from visual basic?"
- Reply: Ron Talmage: "Re: Is my password visible when opening a standard user connection from visual basic?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: schreurs_roel@hotmail.com (Roel Schreurs) Date: 31 Oct 2002 07:32:07 -0800
Hi all,
My Visual Basic application uses ADO to connect to a SQL Server 7. I
am opening a connection for a user that has a standard login (not an
NT user). I have to supply the username an password in the statement:
Dim myConnection As Connection
Set myConnection = New Connection
myConnection.Open "<connect_string>", "<user_name>", "<password>"
Can this password be seen on the network with some packet sniffer or
anything? If so, is there a way to avoid this?
With the related problem of using an application role, the visibility
of the password can be avoided by modifying the tSQL statement from
EXEC sp_setapprole '<user_name>', '<password>'
into
EXEC sp_setapprole '<user_name>', {Encrypt N '<password>'}, 'odbc'
Is there something similar?
Thanks in advance,
Roel Schreurs
- Next message: Peter Borg: "Re: SQL Server & SSL"
- Previous message: linda deng[MS]: "RE: Changing authentication mode..."
- Next in thread: Ron Talmage: "Re: Is my password visible when opening a standard user connection from visual basic?"
- Reply: Ron Talmage: "Re: Is my password visible when opening a standard user connection from visual basic?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|