Click here to Skip to main content
15,888,142 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: File upload using C# Pin
raju melveetilpurayil26-Jun-10 0:50
professionalraju melveetilpurayil26-Jun-10 0:50 
AnswerRe: File upload using C# Pin
Sandeep Mewara26-Jun-10 6:00
mveSandeep Mewara26-Jun-10 6:00 
Questionwindow.print() Pin
Morgs Morgan26-Jun-10 0:16
Morgs Morgan26-Jun-10 0:16 
AnswerRe: window.print() Pin
raju melveetilpurayil26-Jun-10 1:57
professionalraju melveetilpurayil26-Jun-10 1:57 
QuestionCrystal Reports with SqlExpress Pin
Anil Kumar.Arvapalli25-Jun-10 23:35
Anil Kumar.Arvapalli25-Jun-10 23:35 
AnswerRe: Crystal Reports with SqlExpress Pin
raju melveetilpurayil26-Jun-10 0:24
professionalraju melveetilpurayil26-Jun-10 0:24 
Answer[Cross Post] Crystal Reports with SqlExpress Pin
Sandeep Mewara26-Jun-10 5:54
mveSandeep Mewara26-Jun-10 5:54 
QuestionCustom membership database... hashing/encrypting passwords with salt? Pin
Jacob Dixon25-Jun-10 17:22
Jacob Dixon25-Jun-10 17:22 
Currently I have a web application that is in use. It uses the default asp.net membership provider for all the users and roles. I really want to convert this to something I have made myself so I can understand more of how it works and the code that makes it work. It will just make it easier I think in case some things go wrong and for me to customize stuff.

Anyways I am capable of storing a entered password in SHA256. I understand that I can store the encrypted password in the database and just compare the username and password to it when entered (first of course you must converted entered information into SHA256 and then compare).

Now what I don't know how to do or understand is the Salt methods that is currently used. I understand that this generates a random code for each user. I have also read some places where it combines the salt and encrypted password for verification??

So let me ask if it works like this...

User creates a new user which generates a SHA256 password (encrypted in 'Password' field), then a random 'Salt' encryption is generated and saved in a 'PasswordSalt' field... also the username and other informaiton is saved as well.

So when the user logs in it takes their username and password and looks up in the database for those fields (Searching by USERNAME)... Once it gets the Password column and PAsswordSalt column what does it do? I'm assuming at this point the password is just encrypted to SHA256? If that is the case what is the need for the PasswordSalt? Sorry if I sound dumb, im just trying to understand this.
AnswerRe: Custom membership database... hashing/encrypting passwords with salt? Pin
Jacob Dixon26-Jun-10 5:40
Jacob Dixon26-Jun-10 5:40 
QuestionSave Button is not working in Telerik Rad Window Pin
indian14325-Jun-10 9:11
indian14325-Jun-10 9:11 
AnswerRe: Save Button is not working in Telerik Rad Window Pin
thatraja25-Jun-10 10:56
professionalthatraja25-Jun-10 10:56 
AnswerRe: Save Button is not working in Telerik Rad Window Pin
Vimalsoft(Pty) Ltd25-Jun-10 11:00
professionalVimalsoft(Pty) Ltd25-Jun-10 11:00 
QuestionTrying to export from ASP.NET to Powerpoint 2007 [modified] Pin
watchdogger25-Jun-10 5:18
watchdogger25-Jun-10 5:18 
AnswerRe: Trying to export from ASP.NET to Powerpoint 2007 Pin
Adam R Harris25-Jun-10 11:11
Adam R Harris25-Jun-10 11:11 
GeneralRe: Trying to export from ASP.NET to Powerpoint 2007 Pin
watchdogger29-Jun-10 10:08
watchdogger29-Jun-10 10:08 
GeneralRe: Trying to export from ASP.NET to Powerpoint 2007 Pin
Adam R Harris29-Jun-10 13:40
Adam R Harris29-Jun-10 13:40 
QuestionSearch Control in GridView in asp.net Pin
anish27patel25-Jun-10 4:30
anish27patel25-Jun-10 4:30 
AnswerRe: Search Control in GridView in asp.net Pin
PunkIsNotDead25-Jun-10 12:20
PunkIsNotDead25-Jun-10 12:20 
QuestionFront end & Back end Pin
Gjm25-Jun-10 3:36
Gjm25-Jun-10 3:36 
AnswerRe: Front end & Back end Pin
JamieRushton_25-Jun-10 3:43
JamieRushton_25-Jun-10 3:43 
QuestionSet label's text clientside and use it to set button's text server side. Pin
Hardus Lombaard25-Jun-10 3:34
Hardus Lombaard25-Jun-10 3:34 
AnswerRe: Set label's text clientside and use it to set button's text server side. Pin
JamieRushton_25-Jun-10 3:52
JamieRushton_25-Jun-10 3:52 
GeneralRe: Set label's text clientside and use it to set button's text server side. Pin
Hardus Lombaard25-Jun-10 4:11
Hardus Lombaard25-Jun-10 4:11 
GeneralRe: Set label's text clientside and use it to set button's text server side. Pin
JamieRushton_25-Jun-10 4:19
JamieRushton_25-Jun-10 4:19 
GeneralRe: Set label's text clientside and use it to set button's text server side. Pin
Hardus Lombaard25-Jun-10 4:30
Hardus Lombaard25-Jun-10 4:30 

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

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