Lock file
-
Hi Don,
Please add the option for a password lock (similar to MS Word’s feature) for the text file.
When opening the file again anywhere, the password will be required to view the contents.Regards.
-
Hi @Fast,
As our Feature Request FAQ explains, this is the Community of Notepad++ users. Don doesn’t track feature requests here.
The NppCrypt plugin (you can install it via Plugins > Plugins Admin) might give you the feature you want – it will encrypt the file, and when you load it, you have to decrypt it before being able to understand/edit the file. (Since the feature exists in a plugin, Don is not likely to implement it natively, even if you were to put your request in the right place.)
-
@PeterJones Noted.
I’ll try GitHub anyway.Also, I have tried the nppcrypt plugin, however it is unreliable, as anyone can open the file and erase the encrypted content.
Regards,
-
@Fast said in Lock file:
however it is unreliable, as anyone can open the file and erase the encrypted content.
That’s not the same as “unreliable”. MS Word has the exact same problem for the exact same reason: anyone can delete a MS Word file and then create another empty document with the same name, even if it has a password lock, giving the same effect as “open the file and erase the encrypted content” that you complained about for N++ w/ NppCrypt, so that’s not an advantage of one solution over the other. And if Notepad++ implemented any such solution natively, it would have the same problem.
I’ll try GitHub anyway.
Feel free. Just don’t be surprised if it’s ignored or rejected.
-
@Fast
In addition to the objections raised by @PeterJones above, password locking text files seems practically useless, unless your password lock applies whenever any program tries to open that file, at which point it’s no longer a Notepad++ extension but just a general-use program.Microsoft Word and Excel can get some utility out of password locking a file because many Word and Excel documents are useless unless opened by those programs, but any file that people would open in Notepad++ could be edited in any other text editor.
-
@Fast said in Lock file:
anyone can open the file and erase the encrypted content.
You have to manage that with Windows file permissions, not password protection.
Encrypting a file doesn’t prevent it from being vandalized. It just prevents someone who doesn’t know the encryption key from reading it. Nothing Notepad++ (or any application) can do can protect the file from being overwritten by someone else who has access to your computer unless you protect it with the access control features of Windows.
And since someone who has access to your computer could also damage or destroy it in other ways, you need a backup if your purpose is protection against loss of data.
-