Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make a field Read Only
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00726996
Message ID:
00727003
Views:
30
Hi Gerard,
the simpliest way is to crypt the field when you save it and decrypt it before read and execute.
Library cipher50.fll does this with a line of code

Franco

>Hi.
>For one of my apps, I have started to use the new VFP 7 Execscript a lot which allows on site compileation and run.
>I set up the code on a field in a table and then have a screen which reads the code and executes the Script, which is just a memo field on a table.
>
>Now, this is very useful, but can also be very dangerous, in that if somebody clicks on my File, changes my Execscript code to something like:
> Replace all Myfield with 0 (or maybe something worse)
>we are in big trouble !!!!
>
>Is there any way to secure a field on a table from prying eyes....
>
>Regards.
>
>Gerard
Previous
Reply
Map
View

Click here to load this message in the networking platform