Helping people with computers... one answer at a time.

Keeping information private on your computer is harder than you might think. Some obvious solutions aren't as secure as we might like.

I keep a daily journal in Microsoft Works on Windows XP. Is there a way to put a password on it, or lock it up somehow, so only I have access to it?

There are several approaches to keeping your private data private. Some good, some bad, and many in-between.

Let's look at the list, from least to most secure.

I'll start by suggesting that whatever you do, you regularly backup your uncompressed document in a safe and secure place. Many of these techniques have no recovery option should you lose your password, or should the file become corrupted for some reason. As with all things: backup early, backup often.

Many applications allow you to password protect their native files. I'm not sure about Works, to be honest, but programs like Word, Excel and others allow you to specify a password on the document that you must specify in order to open it. In Word, for example, you can set a password on your document in the Tools menu, Options dialog, Security tab.

The problem with built-in password support, is that it's typically not that robust. Historically application-provided security has been relatively easy to crack. I view it as the classic case of "keeping honest people honest", but not really a serious deterrent to a motivated hacker.

Many programs that create compressed archives also support password protection. Check programs that create ZIP and other types of compressed files for options relating to passwords. The approach here is to compress your document into, say, a password protected ZIP file, and only uncompress it when you want to view or modify it. Recompress it when you're done, remembering to delete the uncompressed version.

Sadly, most password protection in these compression utilities is also on a par with that in the applications themselves. A dedicated hacker with enough time and resources can probably get through the protection eventually.

"Choose a weak password and no technology can keep someone from guessing it."

The reason that applications and utilities above have less than industrial strength protection is simply that password protection is just a feature added on to an application that really exists for another purpose.

The next level up, of course, are utilities that are intended specifically for security.

My favorite for exactly the scenario you describe is a Windows utility called TrueCrypt. TrueCrypt allows you to create a highly encrypted file that appears as a virtual disk drive on your system. You can copy any files on to that "drive" and they are automatically encrypted. The file containing the virtual drive can be copied to any machine, but you must specify the password in order to mount the drive and view its contents.

TrueCrypt is ideal if you travel and need to carry sensitive data with you. I cover it in a little more detail in the article How can I keep data on my laptop secure?.

So far everything I've covered is password based, and therefore highly dependant on the password you choose. Choose a weak password and no technology can keep someone from guessing it.

Another approach is to use public key encryption. Using a utility such as GPG (Gnu Privacy Guard), you can create public and private keys, and encrypt your files with a public key such that they can only be decrypted by someone holding the matching private key. This is industrial strength encryption, but might perhaps be overkill for common use. It's one approach to encrypting email messages, for example, and I cover it in a little more detail in How do I send encrypted email?.

As you can see there are several approaches. If this is just a lightweight situation it's possible that application password support may be enough. In general, though, my recommendation for both security and convenience, remains TrueCrypt.

Article C2614 - April 6, 2006

Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

Recent Comments
9 Comments

Minor point of clarification about TrueCrypt: It only offers protection when TrueCrypt is not running. That's because the password is only needed to first "mount" the encrypted file blob. While TrueCrypt is running and your sensitive files are visible as a drive letter, it offers no protection.

That's true for any technique one might use to encrypt data. In order to actually use the data, it must be decrypted. While decrypted it's .... well, decrypted.
- Leo
08-Apr-2009

Posted by: Michael Horowitz at April 7, 2009 11:06 AM

One good way to "password protect" (i.e., encrypt) files is to use WinZip (available at http://www.winzip.com). Provided you're smart enough to enable it (and not use the stupid "legacy" encryption method!), it uses AES, the Advanced Encryption Standard, which was privately developed under the sponsorship of the U.S. government and is a genuine "military-strength" cipher.

WinZip is great for encryption because any encrypted file should really be compressed anyway, because this greatly enhances the encryption by helping to defeat cryptanalysis (compression disguises the original file's natural characteristics).

There are only two caveats I see with using WinZip and AES -- one practical, and one paranoiac. In order, they are:

1. DON'T, under any circumstances, forget your passphrase! There are no "backdoors" (at least, that we know of!) to WinZip, so if you lose your passphrase you have essentially lost your file!

2. Because AES was developed under government auspices, there are those who suspect that the government must therefore necessarily have the key to it. Whether this is true or untrue, it would seem merely prudent not to trust to it anything that you would wish to keep from law enforcement. For that purpose, I'd recommend something like Blowfish, which has been extensively peer reviewed and which has remained secure and uncracked to this day, and into the invention and developement of which the government never once shoved it all-snuffing nose.

Posted by: Glenn P. at April 10, 2009 7:10 AM

i created a folder named 'con' . now i wanna deletel it. how can i delete it ? i know these types of folders like con ,sys and etc. cant b created unless u know the trick . but we can only create it . how we delete is unknown 2 me .can anybody tell me ??

Posted by: kunal at July 30, 2011 7:24 AM

Download RCrypto 2.0. Its an encryption software to keep your data secure. Its Free.
Visit:::
http://www.anantyarnd.in/home/windows-software

Posted by: Rammstien at November 18, 2011 8:03 AM

Great Article.
Very thorough too.
But, I think the MS Word Password protected document can be easily hacked by saving the password protected document as RTF.
Thanks a ton for the valuable post

Posted by: Prodyot at April 22, 2012 10:22 AM
Post a comment on "How can I password protect my documents?":





Remember Me?

(You may use HTML tags for style)

Before commenting, please...

  • READ THE ARTICLE. A comment that shows you didn't will be deleted and ignored.

  • Comment only on the article. Use the search box at the top of the page if you have a question about something else.

  • NO PERSONAL INFORMATION in the comment. No email addresses. No phone numbers. No physical addresses.

  • Anything that looks the least bit like spam will be deleted. Links to unrelated sites or links that appear to be primarily promotional will be deleted, or the comment will be deleted.

  • Don't ask me to recover lost passwords or hacked accounts. I can't. Those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...