Click here to Skip to main content
       

.NET Framework

 
GeneralRe: [VB.NET 2008] How to get single bytes from a multibyte value Pinmembersteve_94966139-Jan-13 20:35 
QuestionDistributing Changes to a DLL that Other Assemblies Depend Upon PinmemberRichard Andrew x648-Jan-13 2:24 
AnswerRe: Distributing Changes to a DLL that Other Assemblies Depend Upon PinprotectorPete O'Hanlon8-Jan-13 2:31 
QuestionMethod Level security based on User logged in Pinmemberpankajbaunthiyal7-Jan-13 22:31 
AnswerRe: Method Level security based on User logged in PinprotectorPete O'Hanlon7-Jan-13 23:44 
QuestionIOException was Unhandled Pinmemberjankevint7-Jan-13 15:39 
AnswerRe: IOException was Unhandled PinmvpRichard MacCutchan7-Jan-13 22:24 
QuestionUser password encryption in .Net Framework 4.5 Pinmembersamijf6-Jan-13 21:11 
Hi,
 
I used to encrypt and store my applications (Web Forms – Windows Forms) user password in the database.
 
I usually during the creation of a new user, I get the user password as a plain text and I create a new hash value then I encrypt the concatenation of the password plain text and the hash value. I store both the encrypted password and the hash value in the database.
 
During the user login authentication process I get the supplied user password as plain text then I retrieve the stored hash and the encrypted password for that user from the database. I repeat the same encryption again which I used during the new user creation operation but with concatenation of the retrieved hash from the database and the supplied plain text password then I compare both the database retrieved encrypted password with new encrypted password. If they are matching the login validation passes otherwise it fails.
 
I used to use "FormsAuthentication.HashPasswordForStoringInConfigFile" in the namespace "System.Web.Security" to encrypt the passwords for both of my windows Forms and web forms applications. But now with the .Net framework 4.5 the following method:
 
"HashPasswordForStoringInConfigFile(Password as string, PasswordFormat as string) as string" is obsolete.
 
Please anyone have any idea what is the new alternative for this method?
 
Kind regards.
AnswerRe: User password encryption in .Net Framework 4.5 PinmvpEddy Vluggen6-Jan-13 21:15 
QuestionBuild Output Question PinmemberKevin Marois4-Jan-13 5:32 
AnswerRe: Build Output Question PinmvpRichard MacCutchan4-Jan-13 6:13 
GeneralRe: Build Output Question PinmemberKevin Marois4-Jan-13 6:20 
GeneralRe: Build Output Question PinmvpRichard MacCutchan4-Jan-13 6:58 
AnswerRe: Build Output Question PinmvpAbhinav S4-Jan-13 6:20 
AnswerRe: Build Output Question PinmvpSandeep Mewara4-Jan-13 6:28 
QuestionNullable(Of Decimal) type variable is throwing exception "Nullable object must have a value." Pinmemberindian14327-Dec-12 18:14 
AnswerRe: Nullable(Of Decimal) type variable is throwing exception "Nullable object must have a value." PinmemberEddy Vluggen28-Dec-12 8:41 
QuestionC# statement var indirect val [modified] Pinmembercodejuggler927-Dec-12 6:33 
AnswerRe: C# statement var indirect val PinmvpDave Kreskowiak27-Dec-12 7:23 
GeneralRe: C# statement var indirect val Pinmembercodejuggler927-Dec-12 7:58 
GeneralRe: C# statement var indirect val PinmvpDave Kreskowiak27-Dec-12 8:47 
QuestionNeeded: PGP source code PinmemberGregory.Gadow26-Dec-12 5:30 
AnswerRe: Needed: PGP source code PinmemberGregory.Gadow26-Dec-12 5:35 
QuestionPrivate byte is being increased continuously without any request Pinmembernishantenet23-Dec-12 20:14 
AnswerRe: Private byte is being increased continuously without any request PinmvpDave Kreskowiak24-Dec-12 5:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 17 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid