Click here to Skip to main content
15,890,579 members
Home / Discussions / Database
   

Database

 
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 
AnswerRe: user defined functions in sql server 2000 Pin
Colin Angus Mackay22-Jun-06 0:58
Colin Angus Mackay22-Jun-06 0:58 
AnswerRe: user defined functions in sql server 2000 Pin
r.stropek22-Jun-06 2:03
r.stropek22-Jun-06 2:03 
QuestionSound?! Pin
md_refay22-Jun-06 0:31
md_refay22-Jun-06 0:31 
AnswerRe: Sound?! Pin
Colin Angus Mackay22-Jun-06 0:55
Colin Angus Mackay22-Jun-06 0:55 
QuestionSetting Password to the Database Pin
meetbinu200321-Jun-06 22:36
meetbinu200321-Jun-06 22:36 
AnswerRe: Setting Password to the Database Pin
Colin Angus Mackay22-Jun-06 1:04
Colin Angus Mackay22-Jun-06 1:04 
Questionget list of active connections on a database Pin
flippydeflippydebop21-Jun-06 22:32
flippydeflippydebop21-Jun-06 22:32 
AnswerRe: get list of active connections on a database Pin
Eric Dahlvang22-Jun-06 6:07
Eric Dahlvang22-Jun-06 6:07 
QuestionAdding Auto-Increment ID in both parent and child table Pin
@myg@l21-Jun-06 8:48
@myg@l21-Jun-06 8:48 
AnswerRe: Adding Auto-Increment ID in both parent and child table Pin
r.stropek21-Jun-06 20:41
r.stropek21-Jun-06 20:41 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l22-Jun-06 4:32
@myg@l22-Jun-06 4:32 
QuestionRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang23-Jun-06 2:55
Eric Dahlvang23-Jun-06 2:55 
AnswerRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l25-Jun-06 21:15
@myg@l25-Jun-06 21:15 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang26-Jun-06 4:59
Eric Dahlvang26-Jun-06 4:59 

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.