Solved

how can i protect my dbf files

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

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 Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

828 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