Simple thoughts in a complex life
Protecting LibreOffice (or OpenOffice.org) Documents
There are times where you need to store or share a sensitive document. And if you use Dropbox, the recently discovered privacy flaw should make you a little bit concerned about your sensitive data.
Saving with Encryption
Click File > Save As... In the following window, make sure Save with password option is ticked.
Enter the password to open the document in the following dialog. Optionally, if you click the More Options button, you can select the option to open file in read-only mode, and specify a second password, to allow only persons with the second password to edit the document.
If you only specify one password (password to open), the document will be editable for everyone with the first password.
Opening Encrypted Document
When you open an encrypted document, a password dialog will be shown. Enter the password here to open the document.
If you save the document with the second password to enable editing, the document will be opened in read-only mode. To edit the document, click on the edit button in the toolbar (highlighted in yellow in the image below). You will be asked for the second password in the following dialog.
There you have it, protecting documents in LibreOffice is very easy.
Important note: Do not forget your passwords! The document would not be recoverable if you lost your passwords. I use KeePass Password Safe to remember my passwords :).