Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DSN password
Message
From
28/01/2002 08:52:29
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
DSN password
Miscellaneous
Thread ID:
00611477
Message ID:
00611477
Views:
56
hi eric,
as u said very right its always better to create dsn thru ur application rather doing it manually, i had already reffered to the article
http://support.microsoft.com/support/kb/articles/q184/6/08.asp
but the problem is in keeping the password, I can't keep the password while creating the dsn as it stores it in registry without encryption if done thru appl.
while when we manually create the dsn ...and if u see the registry odbc\odbc.ini, u wont find any password ???? then where it stores the password ?

i guess one way plz correct me if i'm wrong

1. create the DSN thru appl but w/o password
2. while installation make ur own registry key having user name and encrypted password.
3. now my appl will read the registry and decrypt the password for making the connection.
4. keep one administration option thru which u can change the login and password when needed.

or shud i follow any other way....................
Best Luck..
Nilesh
Next
Reply
Map
View

Click here to load this message in the networking platform