Click here to Skip to main content
15,887,328 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Calling MySql Function in C# for validating username and password Pin
Dave Kreskowiak24-Jan-14 4:37
mveDave Kreskowiak24-Jan-14 4:37 
ahmed_one wrote:
using a secret key which is only known by me.


Bullshit! It's known by the system because the system needs the key to unencrypt the password. Can you GUARANTEE with YOUR LIFE that your system is unhackable and there is zero chance of anyone else getting that key?? If you answer yes, quit your job right now because you're lying to everyone, but even worse, you're lying to yourself.


ahmed_one wrote:
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..


This is completely INSECURE! The best security systems do NOT compare a typed password against a decrypted password. They compare a hashed password against the hash in the database. No decryption necessary and the passwords are never "out in the open" in decrypted form.


YOU ARE HELL BENT ON DOING THIS THE WRONG WAY! DON'T DO IT!

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 
SuggestionRe: midi toolkit Pin
Richard Deeming23-Jan-14 1:39
mveRichard Deeming23-Jan-14 1:39 

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.