Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent User's Access
Message
De
07/09/2000 14:14:24
 
 
À
07/09/2000 13:08:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00412288
Message ID:
00413722
Vues:
32
>>I know this doesn't help you now, but in VFP 7, database events will allow you to do this because an event fires when a table is opened and you can prevent the table from being opened by returning .F. from the event code.
>
>Say you rename the DBC and open the table. You'll still have the option to delete the link to teh DBC, correct? Then the database events won't fire.
>
>So I'm betting thats not a secure method.
>
>But in Message #412291 I suggested corrputing the table after you close it, and fixing it when you open it at low-level. Can a Database event handle that? If so, that would be a handy tip.

It's immensely dumb, and doesn't work for shared tables - in order for someone to work with the table, it has to be 'decorrupted', which now makes it into a standard DBF. If you need a securable table, with access control beyond what's offered by the operating system (NTFS and NetWare can enforce access permissions at the user or group level per file) you need a backend that enforces some sort of security; face it, if you have direct access to a file, no matter what you do, if you can read it, you can copy it and mung the copy to your heart's content...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform