Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any easy/simple way to protect a .txt file with a password? So whenever open the file, password is required, just like opening .pdf with a password protected. Though I still want to be able to edit the text file in general text editors (notepad).

share|improve this question
Right click -> properties -> Encrypt – Sathya Jul 3 '12 at 6:00
EFS is not fully supported on Windows 7 Starter, Windows 7 Home Basic, and Windows 7 Home Premium. – ahmed Jul 3 '12 at 7:00
A word of warning, @Sathya's solution isn't very portable. It's difficult to get it to work on more than just your user account on one computer, and the encrypted form can't really be transferred to others. It also requires a NTFS file system, which means you can't transfer it onto a flash drive (it's automatically unencrypted when used/transferred). – Bob Jul 3 '12 at 8:27
That should be a "can't transfer it onto a non-NTFS flash drive, which is the majority of them... – Bob Jul 3 '12 at 8:41
@Bob: isn't that the first thing you do with a flash-drive, format it into NTFS? – Terry Jul 3 '12 at 9:49
up vote 4 down vote accepted

Use NotePad++ and add SecurePad Plugin. Check this link:

share|improve this answer
Can you provide more context? A name of the software and a small summary? If the link goes dead, we have little helpful information. For example, this solution requires Notepad++. That is an important detail. – iglvzx Jul 3 '12 at 6:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .