View previous topic :: View next topic |
Author |
Message |
Eliezer
Joined: 10 Nov 2005 Posts: 3
|
Posted: Thu Nov 10, 2005 3:39 pm Post subject: password encryption with ODBC |
|
|
I would like to use the ODBC methof for authentication, and I noticed that in the sample users that are included in the trial, their passwords are encrypted. I would like to know if I need my passwords in my database to be encryped to use with firstspot, and if yes how would I do it using the STANDARD edition of firstspot? |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Fri Nov 11, 2005 10:07 am Post subject: |
|
|
You need to use the program encrypt_pwd.exe to encrypt the password first before inserting to the database table.
Alternatively, you can use Password Offloading (only available in Advanced Edition) to change the password encryption method. _________________ ~ Patronsoft Limited ~
Last edited by alan on Tue Nov 15, 2005 3:09 am; edited 1 time in total |
|
Back to top |
|
|
Eliezer
Joined: 10 Nov 2005 Posts: 3
|
Posted: Mon Nov 14, 2005 8:31 pm Post subject: |
|
|
Am I required to use encryption, or can I use firstspot without encrypting the passwords. |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Tue Nov 15, 2005 3:22 am Post subject: |
|
|
By default, FirstSpot password is encrypted. If you want to change the format of storing the password (e.g. clear password), you need to use the Password Offloading feature. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
Eliezer
Joined: 10 Nov 2005 Posts: 3
|
Posted: Wed Nov 16, 2005 3:46 pm Post subject: |
|
|
We understand how to generate a encrypted password using the command prompt (encryprt_pwd).
How could we incorportate this into a Microsoft SQL Server Stored Procedue that would automatically encrypt all of our password to the required encrypted format?
In other words, is there sample code available as to how to call the Encrypt_PWD.exe file from a stored procedure, passing back the encrypted key to update a table with this information.
Thanks. |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Thu Nov 17, 2005 12:04 am Post subject: |
|
|
You should encrypt the password first in command prompt, grab output and then insert the password in the SQL server.
I guess you can do it in Stored Procedure by shelling out. Still, it is a bit more natural for me to ecncrypt the password in the command prompt first before touching SQL. _________________ ~ Patronsoft Limited ~ |
|
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
|
|
Powered by phpBB © 2001, 2005 phpBB Group
| |