Re: Configuration of Login and password in VB6 program
- From: "MikeD" <nobody@xxxxxxxxxxx>
- Date: Tue, 4 Sep 2007 09:02:58 -0400
"albertleng" <albertleng@xxxxxxxxx> wrote in message
news:1188868401.161722.170880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Dear all,
I have a VB6 project which the program needs to access SQL Server 2005
tables.
As below, the userID is QA and the password is qapl.
The user has requested that to prevent us (the designer) to know the
userID and password of the SQL server, they can configure the userID
and password for the program.
I suggest to give them the source codes to let them change themselves
but they dont want this solution.
They requested that they want a solution which they can change the
login and password of the program without touching the source code but
able to prevent the designer (me) to have idea of login and password
used. Please omit the solution which uses textfile to store the login
and password unless the user can hide those details from the
designer.
Giving them the source for this purpose is pointless unless they have their
own developers. However, they should probably still have the source code
since presumably they're paying you to write this program for them, and
therefore the source code is really theirs.
Nothing wrong with saving it to a text file or any other "type" of file.
However, regardless of the file type, you need to encrypt at least the
password (you may want to encrypt the user id as well). Search these
newsgroups at www.google.com/advanced_group_search for encryption routines
you can use.
The other alternative is instead of using SQL Server authentication, use
Windows authentication. With Windows authentication, no password (or even a
user id, per se) is necessary. User are granted permissions via their
Windows login. If you're not familiar with this, I suggest you read up on it
in SQL Server 2005's documentation.
--
Mike
Microsoft MVP Visual Basic
.
- Follow-Ups:
- Re: Configuration of Login and password in VB6 program
- From: albertleng
- Re: Configuration of Login and password in VB6 program
- References:
- Configuration of Login and password in VB6 program
- From: albertleng
- Configuration of Login and password in VB6 program
- Prev by Date: Re: Fast Size Folder
- Next by Date: OT Re: cross posting liars
- Previous by thread: Configuration of Login and password in VB6 program
- Next by thread: Re: Configuration of Login and password in VB6 program
- Index(es):
Relevant Pages
|