Web Forms :: Encrypt And Decrypt Username Or Password Stored In Database
May 7, 2015
I am using asp.net website , now when a user creates new account his password must be saved in hashes , or gets encrypted and submits in database , next time when he login , my application fetch password from encrypted field , then decrypt it and match with the user entered password , if that's ok , page will be redirected to some other pages ... how to do that task ??
am working on a new site and i want to do tothings for security1. I want to encrypt the password of the user who register on my site and also decrypt it to enable him in login again.2. I will make an online exams so I want to disable the user functions to hack the exams materials such as (print page, print screen , or even selecting data manual by mouse )I googled a lot about this matter I found java scripts to make this but what about the users who will disable scripts on their browsers. So I want to do this with C# Code.
I want to compare username and password store in database table to the textbox values for that I am using session variable. How to use dataset for session variable?
How to retrive values from database table using dataset?
I have some sensitive data that will be stored in one of my database tables, how would I go about encrypting it while saving it to the database and then decrypting it when retreiving it? I am using VB.NET
i dont realy understand how do i encrypt / decrypt using asp.netall the explainations in MDSN are hard. i want to encrypt to database, decrypt from database.
I wrote above code in insertbutton event for saving users password in database... Now In other page I want shows password in lable but in database it save it like code and didn't show it in label... So for showing password(that save in database with code) in label what should I do? Can I change code and show it in label?
I have a website which has reference to a service layer through which it calls the procedures.I have a web.config file in my service layer.I want to know is that possible to encrypt the database password alone in connection string.if so how it could be done using Enterprise library 5.0.And whether encrypted password should be decrypted before procedure call or it would automatically take decypted value for procedure call.
I have search all around the internet and still have not found a solution for this problem. I have successfully been able to make a data grid hyperlink and encrypt the query string coming from that link. The problem that I am having is trying to decrypt the query string. When I try to decrypt it I get an error of "Invalid character in a Base-64 string."I know this means that I have a white space or an Invalid character somewhere, but for the life of me I don't know where. Futhermore I try this same code without the datagrid and replace it with just regular textboxes that passes querystrings to the next page and the code work perfectly.
I want to encrypt my web config when i deploy it to server so that the username and password of database is secured. I've tried some of the encryption and it did'nt work. here is my code.
I have a URL www.site-address/site-page/page1.aspx?username=deepu&password=deepu how can i change the URL to www.site-address/site-page/page1.aspx?username=232322323232&password=2323232322323 ie i want to encrypt the fields i pass through the URL to encrypt and decrypt the URL in C# using .net,now i am using response.redirect and pass these values as query string...