Security :: Want To Encrypt The Password Of The User Who Register On My Site And Also Decrypt It To Enable Him In Login Again.2?
Mar 19, 2010
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 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 ??
I'm teaching myself ASP.net. I'm creating an application that needs to store sensitive data. So, I found the following Blog to encrypt and decrypt data.
I'm sure it's my app, but I wanted to make sure I'm not missing anything obvious. For some reason, my app and Encryptor only works when I pass < then 7 characters. If a pass 8, it doesn't commit to the database. If I remove Encryptor, the app will store
I have a HyperLink column in a gridview that when clicked should navigate the user to another page. I pass parameters to the page using a querystring. i want to encrypte the querystring when it passed to another page
I have a website that has a secure admin section with its own login page and a public area with another section that allows people to register and login (using a different login / register page). In my web.config file I have this entry <location path="MemberDetails.aspx">
I created online store following MvcMusicStore tutorial in MVC 2. Used standard login view as shown in tutorial. I created database on new server and it's working well - I can search for albums etc. The problem is when I am trying to register new user - I am getting error listed below (can't log in too). I created new database using aspnet_regsql.exe. Server authentication is set to SQL Server and Windows authentication mode. Server Error in '/' Application. Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. Source Error:
Line 125:Line 126: MembershipCreateStatus status;Line 127: _provider.CreateUser(userName, password, email, null, null, true, null, out status);Line 128: return status;Line 129: }