Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Whats bad about Visual Foxpro
Message
 
 
À
16/07/2001 09:35:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00530878
Message ID:
00530962
Vues:
26
>Mark
>
>just noticed your comment re database security in VFP7.
>
>Would that allow me to protect tables being opened via ASP pages using ADO.
>I do want to open them as above but not via VFP or any other source.
>
>Is there anywhere I could find out more about that security.
>
>
>Nick Mason

The specific Event is the BeforeOpenTable. All you have to do is check for the existence of something like an application object or some other obscure memory variable that is created by the VFP app when it launches. It could also accept a parameter that , if valid, would allow the access to the table. If it does not exist or an invalid parameter is passed, then some rogue outside source is trying to open the table. Just RETURN .F. in your event code to prevent the opening of the table.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform