Solved

how can i protect my dbf files

Posted on 2010-11-09
4
734 Views
Last Modified: 2012-06-27
how can i protect my dbf files to be oppened by Excel ou another program?
thanks
0
Comment
Question by:luciliacoelho
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
TAMUG earned 500 total points
ID: 34096028
the safest way is to encrypt the file.  This will require any user to have the key to open the file.  I use Androsa File Protector and it works great.  http://www.androsasoft.net/
There is one catch.  Forget the password and you're in trouble.
There really isn't any enterprise version of an Encryption software readily available and not in Beta.
0
 
LVL 41

Expert Comment

by:pcelba
ID: 34098004
0
 
LVL 12

Expert Comment

by:jrbbldr
ID: 34098144
A 3rd way to do it would be to create your data table files with a different file (non-DBF) extension.

This would not prevent someone from opening the file in Excel, but with a non-DBF file extension, Excel would not recognize it as a file type that it can open.

cDataDir = "F:\VFP Data"
cDBF = ADDBS(cDataDir) + "MyData.001"
USE (cDBF) IN 0 ALIAS MyData
SELECT MyData
<do whatever>

Good Luck


0
 
LVL 12

Expert Comment

by:jrbbldr
ID: 34102451
And yet another way would be to change from using VFP DBF files and migrate your data into a SQL Server 'backend'.  

Your application can continue to work as a 'front end' to your users and incorporate the SQL Server data tables as the data source.

Then you could use the SQL Server security management to limit access to the tables.

Good Luck

0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: http://msdn.microsoft.com/en-us/vfoxpro/default.aspx (http://msd…
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now