Here’s a useful CLI to enable protecting special files in your system. To protect file.txt just run this

gpg -c file.txt

and you’ll get this file.txt.gpg after you supply the password. To get the original file back, just run

gpg file.txt.gpg

and, after entering the password, file.txt reappears.

The gpg package is installed by default in Ubuntu Jaunty.