Solved

how can i protect my dbf files

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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 this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

773 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