Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Hi,
There's an old, easy trick to do this. Use a low level fopen() and modify the table header slightly. VFP will not be able to open the table nor will any other xbase compatible sfotware. When you want to use the table, open it using fopen() and write back to the header what ever you removed in step one. Save the file and open it normally. At the end of the session change the header back and you have cheap security!
- Val Matison
>Hello,
>
>Can we prevent users to open a table ?
>I know that we can use method code in the dbc_BeforeOpenTable event to preventing users to open the tables, but when I copy this table (myFile.DBF) into another Folder. There is no restriction to access to this table. Anybody have an idea ?
>
>Thank's in advance :)
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement