I have a new diary program, and while I like the program overall there is one important feature missing: password protection. Is there a way to make it so the program won't open without my password?
EDIT: The name of the program is RedNotebook
I have a new diary program, and while I like the program overall there is one important feature missing: password protection. Is there a way to make it so the program won't open without my password?
EDIT: The name of the program is RedNotebook
RedNotebook advertises on it's own website that the "data is stored in plain text files".
Regardless, locking down a program is never the approach to take when protecting data because the data and the program are always separate. So long as I can get access to the data, I can interrogate it even if the program itself uses encryption, and even if the program no longer exists (by using reverse engineering).
Trivially, this means that if someone were to gain access to those files, they could easily copy them and open them with their own copy of RedNotebook.
So, what you really want to do is protect the data. The easiest way to do this is to encrypt the folder that stores that data.
Rednotebook appears to store its data in the folder ~/.rednotebook/data
, but I'd probably encrypt the whole ~/.rednotebook
folder just to be safe. Note that this folder is not really "hidden" (in the sense of security) as such (although that's what it's sometimes called), but it won't show up in Nautilus or ls
by default. You have to either "Show hidden folders" or do ls -a
.
We already have a question relating to How to encrypt folders, so I'm not going to duplicate that here.