Click here to Skip to main content
15,907,395 members
Home / Discussions / C#
   

C#

 
AnswerRe: Download latest file from FTP using WinSCP in SSIS Pin
Alan Balkany24-Jan-14 4:59
Alan Balkany24-Jan-14 4:59 
GeneralRe: Download latest file from FTP using WinSCP in SSIS Pin
Rahul Vairagi29-Jan-14 18:36
Rahul Vairagi29-Jan-14 18:36 
QuestionCalling MySql Function in C# for validating username and password Pin
ahmed_one23-Jan-14 17:58
ahmed_one23-Jan-14 17:58 
AnswerRe: Calling MySql Function in C# for validating username and password Pin
Bernhard Hiller23-Jan-14 21:39
Bernhard Hiller23-Jan-14 21:39 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
ahmed_one23-Jan-14 22:49
ahmed_one23-Jan-14 22:49 
SuggestionRe: Calling MySql Function in C# for validating username and password Pin
Richard Deeming24-Jan-14 1:56
mveRichard Deeming24-Jan-14 1:56 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
Eddy Vluggen24-Jan-14 3:04
professionalEddy Vluggen24-Jan-14 3:04 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
ahmed_one24-Jan-14 4:11
ahmed_one24-Jan-14 4:11 
when creating new user account the password is encrypted via AEC_ENCRYPT function of mysql using a secret key which is only known by me.

Let's say user James's account is created with:
Username: James
Password: somesecretword

Now when password is saved in mysql db using AES_ENCRYPT it becomes something like "$-3+%,%kjunbsnd". Now when validation procedure is called it is using the AES_DECRYPT function using same key only i know, which validates the password alongwith username..

My question is how can anyone including the cleaning lady find the actual password without knowing the secret key?

Please do not consider this reply as argue, I am only a beginner trying to learn from experience masters like you.

Thanks

Ahmed
GeneralRe: Calling MySql Function in C# for validating username and password Pin
Dave Kreskowiak24-Jan-14 4:37
mveDave Kreskowiak24-Jan-14 4:37 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
Eddy Vluggen24-Jan-14 4:58
professionalEddy Vluggen24-Jan-14 4:58 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
Dave Kreskowiak24-Jan-14 4:33
mveDave Kreskowiak24-Jan-14 4:33 
AnswerRe: Calling MySql Function in C# for validating username and password Pin
Shujaat Ullah Khan24-Jan-14 4:24
Shujaat Ullah Khan24-Jan-14 4:24 
QuestionValidation on characters having multiple section in a string Pin
nitin_ion23-Jan-14 16:47
nitin_ion23-Jan-14 16:47 
AnswerRe: Validation on characters having multiple section in a string Pin
Peter Leow23-Jan-14 17:20
professionalPeter Leow23-Jan-14 17:20 
GeneralRe: Validation on characters having multiple section in a string Pin
nitin_ion23-Jan-14 18:58
nitin_ion23-Jan-14 18:58 
GeneralRe: Validation on characters having multiple section in a string Pin
Dave Kreskowiak24-Jan-14 4:30
mveDave Kreskowiak24-Jan-14 4:30 
AnswerRe: Validation on characters having multiple section in a string Pin
Garth J Lancaster23-Jan-14 17:23
professionalGarth J Lancaster23-Jan-14 17:23 
Questionunicode characters Pin
Member 1037881923-Jan-14 4:26
professionalMember 1037881923-Jan-14 4:26 
AnswerRe: unicode characters Pin
Richard MacCutchan23-Jan-14 6:29
mveRichard MacCutchan23-Jan-14 6:29 
AnswerRe: unicode characters Pin
Bernhard Hiller23-Jan-14 21:48
Bernhard Hiller23-Jan-14 21:48 
QuestionGet two desktop screens running simultaneously in Windows Form Panel using C# Pin
Saad.007123-Jan-14 3:19
Saad.007123-Jan-14 3:19 
SuggestionRe: Get two desktop screens running simultaneously in Windows Form Panel using C# Pin
Richard MacCutchan23-Jan-14 6:26
mveRichard MacCutchan23-Jan-14 6:26 
AnswerRe: Get two desktop screens running simultaneously in Windows Form Panel using C# Pin
Eddy Vluggen23-Jan-14 7:09
professionalEddy Vluggen23-Jan-14 7:09 
AnswerRe: Get two desktop screens running simultaneously in Windows Form Panel using C# Pin
Bernhard Hiller23-Jan-14 21:59
Bernhard Hiller23-Jan-14 21:59 
Questionmidi toolkit Pin
sadeghjun23-Jan-14 1:33
sadeghjun23-Jan-14 1:33 

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.