SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Password Encryption in SQl SERVER 2005


Password Encryption in SQl SERVER 2005

Author
Message
Amit kulkarni-491236
Amit kulkarni-491236
SSC Eights!
SSC Eights! (804 reputation)SSC Eights! (804 reputation)SSC Eights! (804 reputation)SSC Eights! (804 reputation)SSC Eights! (804 reputation)SSC Eights! (804 reputation)SSC Eights! (804 reputation)SSC Eights! (804 reputation)

Group: General Forum Members
Points: 804 Visits: 219
hi iam having a table called 'Users' having password column.
It already contains some data.
i want to encrypt the password field for exisiting record and for new records which may be added in future.(for security purpose)

please give me detailed Step by step description for data encryption
please dont provide only links
Andras Belokosztolszki
Andras Belokosztolszki
SSCrazy Eights
SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)

Group: General Forum Members
Points: 8601 Visits: 1585
Books online has a good example: http://technet.microsoft.com/en-us/library/ms179331.aspx

Regards,
Andras



Andras Belokosztolszki, MCPD, PhD
GoldenGate Software
Amit kulkarni-491236
Amit kulkarni-491236
SSC Eights!
SSC Eights! (804 reputation)SSC Eights! (804 reputation)SSC Eights! (804 reputation)SSC Eights! (804 reputation)SSC Eights! (804 reputation)SSC Eights! (804 reputation)SSC Eights! (804 reputation)SSC Eights! (804 reputation)

Group: General Forum Members
Points: 804 Visits: 219
i have already gone through the microsoft article....
i want encryption by password method.... i dont want to create certificates...
just creating keys, opening them.. assigning it to column(encrypt it)...
and finally decrypt it
K. Brian Kelley
K. Brian Kelley
Keeper of the Duck
Keeper of the Duck (39K reputation)

Group: Moderators
Points: 39428 Visits: 1917
Take a look at the EncryptByPassPhrase and DecryptByPassPhrase functions. The Books Online links (which have examples):

EncryptByPassPhrase()

DecryptByPassPhrase()

K. Brian Kelley
@‌kbriankelley
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search