Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there away I can protect my foxpro tables from being read

Status
Not open for further replies.

orakama

MIS
Oct 27, 2004
10
KE
I have an application written in foxpro. It uses about 100 files stored in a folder and seeking for how to prevent them (tables) from being accessed and/or manipulated by any other application/otherwise apart from the program I have written. How can this be achieved
 
I don't know of any way you can prevent them from being accessed. You might be able to make them "hidden" files so they can't easily be seen, but anyone with a smidgen of smarts can unhide them.

If you are worried about someone tampering with them, you will probably need to keep a duplicate copy offsite just in case. But then, if that is the case, the next question is why you are allowing someone to access the machine in the first place that would/could tamper with them. Basically, that becomes a security issue unrelated to FP itself.

mmerlinn


"We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding. Answering questions for careless and sloppy thinkers is not rewarding." - Eric Steven Raymond
 
There is a dll at Cryptor that works with foxpro 5 and up.
I remember using it to encrypt the data file all the time and supplied the key in my program to access the data

Another method i used a long time ago:
when exiting your program, close the tables, loop thru the dbf's, use low level file functions to "damage" the headers
when opening the program, fix them

This old world keeps spinning round - It's a wonder tall trees ain't layin' down
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top