When I try to connect db2 client to server throught ODBC using
"Server" authentication , I found the password is written into the
db2cli.ini file.
It is not secure.
Is there any way to prevent it?
The only way I was able to re-create that was to go through the ODBC
Driver Manager configure the source, and put in my Username/Password in
the CLI/ODBC Settings. If these are left blank then the driver will
prompt you for the information (and it won't be saved in the db2cli.ini
file). Or if you want the UserID just to be saved, only enter that,
etc. HTH
I've had many users who save their password and then freak out when they
see me bring it up in notepad (usually because they call me when they
can't connect after changing their password). =]
Does anybody know if this password in the ini file might be encrypted or
have some sort of security in future versions of the Runtime client?
Regards,
Jamie
The first step to acces the file is to logon on a Workstation.
Implied that if you can see the content of the file, someone has already the
password
to logon on the system
In the case of Jamie, the user is already logged on or is sharing the file.
That's where the security breach is.
If the user PC is off then Jamie is probably unable to use the notepad to
fix it.
(would have to logon first)
PM
If a user is using Windows 95/98 this is not the case, as I can hit escape at
the login to the system and have at any files that I want, including db2cli.ini.
Either way, I don't like having any password being visible in plain text,
regardless as to who has access to the file. If I get up and walk away from my
workstation without locking it (which I don't, but many people here do), I know
the worst someone could do is delete/corrupt files. Were my password available
simply by double-clicking my db2cli.ini file and bringing it up in notepad, my
files, mail, information on the host, etc, is all subject to compromise (if the
passwords are the same, which for most of my users is the case). The same
applies to anyone in the many groups that may have access to my C$ share in NT;
they can play with my files to their heart's content, but they can't do anything
to my password without knowing the old one first.
For the sake of users who do not know about this and save their password in
ODBC, I would like to see *some* sort of encryption applied to this in future
versions of the client. Until then I will discourage any of my users from using
this feature.
Best Regards,
Jamie
To resolve 3, upgrade to XP.
"Jamie Tisdale" <jtis...@IHATESPAM.rens.com> wrote in message
news:3C14CBCD...@IHATESPAM.rens.com...
It's impossible to police users to make sure they *don't* save their passwords
in their ODBC settings. It's also ludicrous to ask them to spend <insert large
amount of money here> to upgrade to 2000/XP/whatever so we could use the client
authentication across the board (this would be *really* nice for this and many
other reasons, but not probable).
I realize that if even if the passwords were encrypted, they could be easily
decrypted and used by someone who knows what they're doing. I guess it'd just
be a tad more comforting to know that a user can save his or her password
(intent on doing so aside) and not make it available to someone who can double
click on an INI file and have at their password.
This is more of a question to those at IBM than a "How do I work around this"
type of thing.
Best Regards,
Jamie