Click here to Skip to main content
15,900,461 members
Home / Discussions / Database
   

Database

 
AnswerRe: data from database Pin
VK-Cadec23-Jun-06 8:25
VK-Cadec23-Jun-06 8:25 
Questionquery Pin
Tara1422-Jun-06 10:57
Tara1422-Jun-06 10:57 
AnswerRe: query Pin
Eric Dahlvang22-Jun-06 11:35
Eric Dahlvang22-Jun-06 11:35 
GeneralRe: query Pin
Tara1422-Jun-06 19:11
Tara1422-Jun-06 19:11 
QuestionStored procedure Pin
Nayota22-Jun-06 8:29
Nayota22-Jun-06 8:29 
AnswerRe: Stored procedure Pin
Dustin Metzgar22-Jun-06 9:23
Dustin Metzgar22-Jun-06 9:23 
GeneralRe: Stored procedure Pin
Nayota22-Jun-06 10:22
Nayota22-Jun-06 10:22 
GeneralRe: Stored procedure Pin
jonathan1522-Jun-06 23:08
jonathan1522-Jun-06 23:08 
QuestionDataset update Pin
kjosh22-Jun-06 6:10
kjosh22-Jun-06 6:10 
Questionimage Pin
md_refay22-Jun-06 4:26
md_refay22-Jun-06 4:26 
AnswerRe: image Pin
Colin Angus Mackay22-Jun-06 4:51
Colin Angus Mackay22-Jun-06 4:51 
Questionsql server triggers Pin
flippydeflippydebop22-Jun-06 3:59
flippydeflippydebop22-Jun-06 3:59 
AnswerRe: sql server triggers Pin
flippydeflippydebop22-Jun-06 4:19
flippydeflippydebop22-Jun-06 4:19 
GeneralRe: sql server triggers Pin
flippydeflippydebop22-Jun-06 4:26
flippydeflippydebop22-Jun-06 4:26 
GeneralRe: sql server triggers Pin
flippydeflippydebop22-Jun-06 4:44
flippydeflippydebop22-Jun-06 4:44 
GeneralRe: sql server triggers Pin
flippydeflippydebop22-Jun-06 5:06
flippydeflippydebop22-Jun-06 5:06 
Questioninserting 10 rows in a table using a query Pin
248912822-Jun-06 2:19
248912822-Jun-06 2:19 
AnswerRe: inserting 10 rows in a table using a query Pin
Mairaaj Khan22-Jun-06 3:12
professionalMairaaj Khan22-Jun-06 3:12 
AnswerRe: inserting 10 rows in a table using a query Pin
Eric Dahlvang22-Jun-06 6:46
Eric Dahlvang22-Jun-06 6:46 
Questionpassword?!!! Pin
md_refay22-Jun-06 0:38
md_refay22-Jun-06 0:38 
AnswerRe: password?!!! Pin
Colin Angus Mackay22-Jun-06 1:00
Colin Angus Mackay22-Jun-06 1:00 
AnswerRe: password?!!! Pin
r.stropek22-Jun-06 2:13
r.stropek22-Jun-06 2:13 
Hi!

Check my blog at http://www.cubido.at/Blog/tabid/176/EntryID/34/Default.aspx. There I show how you can encrypt and decrypt the password column with SQL2005.

If you do not have SQL2005 but 2000 you do not have these smart encryption functions built into the DB. You would have to implement encryption yourself (e. g. using .NET's encryption functions). In fact for a password it would be enough to calculate a (salted) hash (see http://en.wikipedia.org/wiki/Salt_%28cryptography%29 for details) -> no encryption needed.

A completly unsecure solution that just displays the password in binary instead of cleartext is to change the data type of the password column to varbinary. A SELECT will then just show hex values. Again, this is NOT encryption. Everyone how is able to write SQL can write cast(password as varchar) and sees the password. However, sometimes it is enough to just changing the display format of the password to binary.

Regards,
Rainer.


Rainer Stropek
Visit my blog at http://www.cubido.at/rainers
GeneralRe: password?!!! Pin
Colin Angus Mackay22-Jun-06 4:53
Colin Angus Mackay22-Jun-06 4:53 
GeneralRe: password?!!! Pin
r.stropek24-Jun-06 22:50
r.stropek24-Jun-06 22:50 
Questionuser defined functions in sql server 2000 Pin
Swaroop Roy22-Jun-06 0:35
Swaroop Roy22-Jun-06 0:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.