Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preventing access to tables outside of VFP
Message
From
12/10/1998 22:27:56
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00146063
Message ID:
00146085
Views:
23
>Is there a way to prevent access to the users to the DBF files outside a VFP application, lets say to keep them from opening them thru VFP developement or erase, rename or copy them thru the Windows Explorer.
>
>All the files are in a Windows NT server, I suppose that there could be a hidden propery to the files or something like that.
>
>Any hints?



For sure, but you need to do heavy job on it!

First, you need to make a self encrpy.prg and decrpy.prg for change data information.
These prg need to change all type of data including char, integer, float, date, datetime, ...

Then, you encrpy all data before put to each field of table.
and decrpy them before giving using to user!

Remember to set the table index with decrpy(keyfield)....
So, other program will get rubbish data unless they got your decrpy program...

but you need to give huge effect on check the encrpy, decrpy action is well work!

For me, I don't do this for most data but only my staff table password field...
I have already found it difficult to do...
Of cos, my encrpy, decrpy function is for character only... :0

ANyway, good luck!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform