Click here to Skip to main content
15,917,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i want to encrypt or decrypt the password in a database table...please help me.

thanks in advance.

regards
Er. Hem Raj Thakur
Posted
Comments
vishal jodh 12-Dec-12 1:46am    
I thinks first u need to Encrypt u r password in C# or VB.net and then insert into Database

1 solution

Its not a good idea to encrypt your password and store it in database as it is a security risk. Take a look at this CP article
Password Storage: How to do it.[^]

Check the below link for information on encryption feature in SQL SERVER
Introduction to SQL Server Encryption and Symmetric Key Encryption Tutorial with Script[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900