Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make a field Read Only
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00726996
Message ID:
00727021
Vues:
40
Gerald,
You may want to add an additional field and store a checksum value on the contents of the script field when the it is first created. If the checksum does not match, do not run the script. If you are concerned about someone viewing the script, you could encrypt it and unencrypt to run it.
Just a thought.

>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform