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.
"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
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.