 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jos de Bruijn Guest
|
Posted: Mon Jun 13, 2005 4:20 pm Post subject: Password on SQL server not case sensitive |
|
|
Hi,
I've created a login on my sql server:
user = 'NewUser'
password = 'ABC'
but when I try to logon with this user (using ado) it doesn't matter if my
password is 'abc' or 'ABC' both passwords will be accepted. Is this a
setting of ADO of is it a setting on my SQL server? The server (SQL2000) is
in mixed mode.
Thanks,
Jos
|
|
| Back to top |
|
 |
Del M Guest
|
Posted: Tue Jun 14, 2005 1:52 am Post subject: Re: Password on SQL server not case sensitive |
|
|
Sql Server works that way. By default all comparisons are set to be not case
sensitive. If you change it to be case sensitive then
'select col1, col2 from tableX where name = 'jones' ... would not work
unless the name was stored exactly that way. Passwords are stored in a
system table encrypted and so they are compared by the db engine just as all
other data is.
If you want tricky passwords, then create a user database and setup
passwords there to be compared .. like 'D3$aN#' .
I think ... :-)
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|