Ask the Expert

Opening secure files with FileReader

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.

This was first published in September 2005

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: