AcuODBC User's Guide
Version 6.0

6.4 Encrypting XFD Files

Under certain circumstances, you may want to encrypt your XFD files so that users do not have direct access to them. Such circumstances might include the following:

You can use the xfdcrypt utility, which is included with AcuODBC, to encrypt your XFD files. Otherwise, users can remove these directives to gain access to privileged fields.

To encrypt an XFD, use the following command:

    xfdcrypt infile.xfd   

The xdfdcrypt utility encrypts the file and places it in the XFD directory, along with the XFD.

You can encrypt multiple files at once by including more than one file name on the command line or by using DOS-style pattern matching. For example:

    xfdcrypt infile1.xfd infile2.xfd infile3.xfd   


    xfdcrypt infile?.xfd   

Distribute only files with the ".efd" extension to your end users (or XFDs that were not encrypted in the first place). Users cannot modify ".efd" files, so your hidden data remains hidden. If you need to view or modify the EFDs or XFDs, you can access the original ".xfd" files on the development machine. The xfdcrypt utility can decrypt ".efd" files into readable ".xfd" files. Therefore, you should not include "xfdcrypt.exe" with your AcuODBC application.

Note: Files encrypted with a 4.x or 5.x version of xfdcrypt will not work with AcuODBC Version 6.0 or later. You must run xfdcrypt again for compatibility with AcuODBC Version 6.0 or later.

Acucorp, Inc.
Voice: (800) 262-6585 (U.S.A. and Canada)
Voice: (858) 689-4500
Fax: (858) 689-4550

Please share your comments on this manual
or on any Acucorp documentation with the
Acucorp Communications Department.
1988-2003 Acucorp, Inc.
All rights reserved.