Solved

how can i protect my dbf files

Posted on 2010-11-09
4
736 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 2017, ransomware will become so virulent and widespread that if you aren’t a victim yourself, you will know someone who is.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
A short film showing how OnPage and Connectwise integration works.

932 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

9 Experts available now in Live!

Get 1:1 Help Now