Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Define Password Column

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-06-02 : 07:17:48
Sumeet writes "How to define a column in a table where we can store encrypted passwords?"

AndrewMurphy
Master Smack Fu Yak Hacker

2916 Posts

Posted - 2004-06-02 : 09:23:31
how about?
alter table tablex add column passinfo varchar(20)
Go to Top of Page

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2004-06-02 : 09:58:05
the encryption/decryption can be done at the client. just accept the password, do what you need to do to encrypt it, and then store it in the database in a varchar() (like Andrew suggests). then, when you need, get it from the DB and then decrypt it. there are lots of alogorithms out there .


- Jeff
Go to Top of Page
   

- Advertisement -