Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How Can I protect my DataBase.
Message
 
To
15/02/1999 11:32:24
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00187707
Message ID:
00187714
Views:
19
>1) I want to secure my database/table that some one cannot be able to open my database/table. First idea come in my mind to open that file with FOPEN() and replace its some characters with FWRITE(). Then FoxPro will refuse to open that file. When I need to open that I again replace back the original characters. This method may be little dangerous. Is there an other Visual FoxPro or any other API Function which can protect my files.
>
>2) How can I get the Serial Number/properties of the current Hard Drive in Computer by Visual FoxPro? Is there a FoxOro/API Function for that?
>
>Aftab Ahmad

Using FOPEN() and FWRITE(), besides being dangerous as you said, won't be very effective. Any time someone is running your app, the app will have "fixed" the dbc/dbfs so your app can see it, and everyone else can then see them again, as long as the legitimate user(s) are using it through your app.

Besides what Mark said about fixing network/file rights, I assume you want to fix it so that people who can access the data legitimately (through your app) can't also access it through running Access or Excel and doing an import or creating an OLE link or anything like that. The answer there is probably to find out about data encryption tools which are available.

The other comment I have about this is to search the U.T. using the little binocular icon in the left frame. (Some search options are disabled for non-premier members, but not all.) Both of the questions you asked, how to secure your data and how to get HDD serial no., have been asked and answered several times in the past few days/weeks. (Not saying you shouldn't have asked the question again, just pointing you to an answer.)

HTH,
Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform