Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add encrpytion/decryption to the field in DBF fil
Message
From
20/03/2013 01:37:47
 
 
To
19/03/2013 23:49:53
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01568830
Message ID:
01568833
Views:
53
>Hi,
>
>I have a table contain the users login and password, I want to
>apply some encrpytion to the password field only and also
>decrypt it when access it.
>Please advise some solution.
>
>Thanks
>Derek Yim


You should not encrypt passwords and then decrypt them for comparison purposes. The correct technique is to store only the hash of a password. Then when the user enters their password you compare the hash of the entered value vs. the stored hashes. You don't store end-user passwords because that is a security issue in itself.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform