Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Password protect a dbf
Message
De
05/08/2009 12:47:01
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01415873
Message ID:
01416231
Vues:
53
We use cipher5.fll, works with all versions of VFP, never had any problems so far.

You encrypt the data before writing to the table, like:

lnTest = "Hello World"
replace table1.field1 with encrypt(lnTest, YourKey)

The same call encrypts/decrypts, so reading is Store encrypt(table1.field1, YourKey) to lnTest

If a user tries to read the VFP data outside of your app, it is all encrypted.

If you want to go 1 step further and prevent them even seeing the encrypted data, add an audit trail like FoxAudit. The only way to see the data is if FoxAudit successfully instantiates itself, which would be very difficult outside of the VFP environment. Password protect the FoxAudit startup, and only the most determined hacker has a chance.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform