Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Encrypted data in screen
Message
From
06/12/2010 13:24:38
 
 
To
06/12/2010 12:51:45
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01491861
Message ID:
01491868
Views:
83
>>if I encrypt a memo field in a table using vfpencryption.fll
>>what is the best way to show the data in a screen? what method is best to handle the derypt/encrypt functions?
>>

>
>that really depends on how you code. One way would be to decrypt it when you query the data. Another way would be to decrypt it in your Business Object code. Yet another way would be to decrypt it in the control's refresh. Or if your form has a method that always gets called when a new record is displayed you could use that.

i think it should be in the UI so only a person having access to a particular form can actually have it decrypted.
using that logic if I decrypt in the gotfocus() it displays plain text (good)
then if I encrypt it in the lostfocus() it' be encrypted when saved bau also the display shows garbage

to refine my question, is there a way in a edit control to ALWAYS show text while the actual data behind is encrypted??


Peter
Peter Cortiel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform