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

Click here to load this message in the networking platform