I'm using sp_password in some code to allow users to change their SQL password from my VB App. After a password change is made, I can connect using either the old password or the new password for a short period of time. Does anyone know why this is? Also, is there a security risk in using the ADO connection's .Execute method with a string that has passwords in it?
Here's what I'm doing:
strSQL = "EXEC sp_password '" & strOldPass & "','" & strNewPass & "'"
gcnn.Execute strSQL
'gcnn is my ADO connection
Here's what I'm doing:
strSQL = "EXEC sp_password '" & strOldPass & "','" & strNewPass & "'"
gcnn.Execute strSQL
'gcnn is my ADO connection