Re: Using _crypt.vcx
- From: "Dan Freeman" <spam@xxxxxxxxxxxxx>
- Date: Thu, 3 Aug 2006 09:02:00 -0700
In addition to Roger's comments, I'd add the standard multi-user warning.
If you "decrypt when in the app", how does the app know the 2nd user is
coming in? Does it go ahead and decrypt already-decrypted data (producing
garbage)?
Tread carefully.
Dan
wickedbusa wrote:
I'm using VFP 8. I took your advice and used the StrConv function.
Works great. Is there a way to encrypt an entire dbf using this
technique? I need to encrypt an entire dbf on close, then decrypt the
dbf while it is open in the app. If there is an easy way to do this
using this technique please let me know.
Thank you so much for your help.
Arvin
Roger Ansell wrote:
wickedbusa wrote:
Hello everyone. I am trying to encrypt the password field in my user
dbf so that no one can read the password if the dbf is opened
outside of the program. I wanted to use the _crypt class, but am
not quite sure how to go about implementing it. I am new to VFP and
am not too familiar with the function. I wanted to encrypt the
password field in the dbf, then have the user login, have the
program encrypt his/her password, and check the encrypted password
with the encrypted password stored in the dbf. Does anyone have a
procedure as to how I would go about doing this? I currently have a
login form that checks passwords against a dbf.
It depends on how secure your encryption really needs to be.
Personally, I think that using Windows Crypto API is overkill
for user login password encryption, although I do use it for
other purposes.
Which version of VFP are you using?
From VFP8, check out the StrConv function which can encode/decode
a character expression to/from base64 binary and base64 hexbinary.
That should outfox ;-) all but dedicated hackers.
- Roger
.
- Follow-Ups:
- Re: Using _crypt.vcx
- From: wickedbusa
- Re: Using _crypt.vcx
- References:
- Using _crypt.vcx
- From: wickedbusa
- Re: Using _crypt.vcx
- From: Roger Ansell
- Re: Using _crypt.vcx
- From: wickedbusa
- Using _crypt.vcx
- Prev by Date: Re: User Disk Free Space
- Next by Date: Re: Using _crypt.vcx
- Previous by thread: Re: Using _crypt.vcx
- Next by thread: Re: Using _crypt.vcx
- Index(es):
Relevant Pages
|