DSN's user ID & password for SQL Server

This is a discussion on DSN's user ID & password for SQL Server within the ODBC forums in Framework and Interface Programming category; Hi, I setup a DSN which uses SQL as data source and chooses "With SQL Server authentication using a login ID and password entered by the user" option. The user ID and password are set in the DSN. When using ADODB.Connection to connect the SQL Server through the DSN at runtime, it needs user ID and password again. Any way to avoid this as the users shouldn't know the user ID and password of the SQL Server. How to use or get the user ID and password set with the DSN? Thanks, ybc...

Go Back   Application Development Forum > Framework and Interface Programming > ODBC

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-08-2006, 03:03 AM
=?Utf-8?B?eWJj?=
Guest
 
Default DSN's user ID & password for SQL Server

Hi,
I setup a DSN which uses SQL as data source and chooses "With SQL Server
authentication using a login ID and password entered by the user" option. The
user ID and password are set in the DSN.
When using ADODB.Connection to connect the SQL Server through the DSN at
runtime, it needs user ID and password again. Any way to avoid this as the
users shouldn't know the user ID and password of the SQL Server. How to use
or get the user ID and password set with the DSN?
Thanks,
ybc
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 12:06 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.