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 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 have successfully created a SQL Server database that is holding the ASP.NET Membership data for my site. I have also created two textboxes and used them for user authentication after he/she keys in a user name and password. I would now like encrypt the password before comparing to the value stored in the Password field of the SQL Server database. However, I have been unable to do this so far.I have consulted the MSDN page for the embershipProvider.EncryptPassword method but I do not understand how to implement it. I have also tried searching Google for this method but I have only found a couple of examples and I don't understand those either.
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 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...