Share via


Encrypt And Decrypt the password while storing into Sql Server 2012 Database using Vb .Net

Question

Tuesday, February 9, 2016 9:12 AM

Hello Sir,

i have designed one login windows form and created database in sql server 2012 to store login details as Username and Password. Now i want to store the password in encrypted form when user will login. So that no one will identify or hack it. 

For reference, attached herewith screenshots of login form and sql database. Please do help me.

Thanks & Regards

Rushali

All replies (4)

Tuesday, February 9, 2016 2:51 PM âś…Answered

See the below link for encrypting and decrypting strings:

https://msdn.microsoft.com/en-us/library/ms172831.aspx

Paul ~~~~ Microsoft MVP (Visual Basic)


Tuesday, February 9, 2016 9:18 AM

Is this a kind of school assignment?

In real programming passwords are not anymore used in as it is possible to use the well hidden build in username and password.

Success
Cor


Tuesday, February 9, 2016 9:38 AM

@Cor Ligthert :- No sir, It's not school assignment. I am working on Microsoft Azure SQL Database. I want to give authorization to each user and in case any user will get the access of database then he/she will get all users password. So i want to design secure application. So that no one will login with any other login credentials. 

Thanks & Regards

Rushali


Tuesday, February 9, 2016 4:41 PM

https://azure.microsoft.com/en-us/documentation/articles/active-directory-whatis/

Success
Cor