Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to secure files
Message
De
28/08/1999 15:57:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00258295
Message ID:
00258857
Vues:
20
>Is there any way within NT or Novell, to 'Hide' files from explorer , but let them be visible to the app. This would give alimited orm of security from 'prying' eyes.

Hi, Gerard
I'm not sure that it what you want, but see below.

In our company all users working with FP 2.6 app.
The app's files stored in APP folder in Novell server and data files stored in DBFS folder. For all users except two advanced users (and Novell administrator of course) we are drop the Find right to DBFS folder. In this case when ordinary user open this folder in Explorer it looks like empty, but our app works fine.

One thing to keep in mind: some FP functions like File() need Find right for working properly. Therefore when app need open a table we don't check table existence with File("Customer.dbf"). We are using some like this:

on error do MyErrorHand
sele 0
use DBFS\Customer
if empty(alias())
&& misfortune
return
endif

Sorry for my english.

HTH
Regards,
Dmitri Alexandrov
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform