By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
How can I keep a flat file secure in a Windows XP environment? I tried zipping the file and encrypting, but I don't know how to open up such a file using FileReader in Java.
The best way to keep files secure in an NT-kernel environment is through the use of NTFS permissions. You'll need to establish an account with appropriate privileges such that FileReader can open the file under a limited security context while keeping anonymous and other users out. For more information on NTFS permissions and accounts, check out this guide to them at
or see Chapter 3 of my book,
Learning Windows Server 2003