The information in this article applies to:
SUMMARY
FoxPro can encrypt database files by building them into an encrypted .EXE
file. However, when the .EXE file is run, the database files cannot be
modified.
MORE INFORMATIONEncryption prevents users from accessing .DBF files directly. It works by changing the file so it is not recognizable as a .DBF file. FoxPro cannot use the database file again until it is decrypted. Following are some of the ways you can encrypt .DBF files in FoxPro. Using FoxPro to Encrypt .DBFsIf a database file does not need to be modified, you can add it to your project list and not mark it for exclusion. When you build an encrypted .EXE file, the .DBF data will be included in it. You do not need to physically copy the .DBF file to the subdirectory where the .EXE file will be found. When you run the .EXE file, the database information can be accessed but it cannot be changed. Decryption of the .DBF file is automatic when the .EXE file is run.Third-Party Products to Encrypt .DBFsNOTE: The third-party products included here are manufactured by vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding these products' performance or reliability.NetLib Cryptor Writing a Program to Encrypt .DBFsMany FoxPro reference books contain sample code for different methods of encrypting and decrypting database files.For examples, see these books: "FoxPro 2.0 Power Tools," Malcolm C. Rubel, pages 938-942, Bantam Books, 1991, ISBN 0-553-35294-6 "Tom Rettig's FoxPro Handbook," Tom Rettig, pages 622-625, Bantam Books, 1990, ISBN 0-553-34937-6 "FoxPro 2.5 Advanced Developer's Handbook", Pat Adams and Jordan Powell, pages 222-228, Brady Publishing, 1993, ISBN 0-13-325341-4 Additional query words: VFoxWin FoxDos FoxWin encrypt hide
Keywords : kb3rdparty FxprgMultiuser |
Last Reviewed: August 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |