Avee's Place

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.

Save with password tick-box in Windows

Save with password tick-box in Windows

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.

Save As with Password Dialog

Save As with Password Dialog

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.

Opening an Encrypted / Password-protected Document

Opening an Encrypted / Password-protected 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.

Edit File Button is Highlighted in Yellow

Edit File Button is Highlighted in Yellow

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 :).

Advertisements

10 responses to “Protecting LibreOffice (or OpenOffice.org) Documents

  1. RosT September 2, 2011 at 1:35 pm

    Thanks for your post.
    It’s nice, simply and easy to understand

  2. Aas April 12, 2012 at 9:53 pm

    Great guide. Really easy to follow. And thanks for the KeePass tip. I love it!

  3. Hudson October 18, 2012 at 11:54 pm

    Wow! So simple and I didn’t see it. Thanks man.

  4. Pingback: Proteger com senha arquivos do LibreOffice | HMagalhães

  5. manastirlimarina June 15, 2013 at 8:09 pm

    You can help me please. I forgot my password for a document in odt format. What can i open this document i need this today? You know how to do this?

  6. manastirlimarina June 15, 2013 at 8:09 pm

    You can help me please. I forgot my password for a document in odt format. How can i open this document i need this today? You know how to do this?

    • avee June 15, 2013 at 9:40 pm

      AFAIK, LibreOffice uses a very good encryption algorithm for password-protected documents, that means unfortunately if you forgot the password it is/should not be possible to recover the document.

      At least not easily.

      There are, however software that claim to be able to crack password on protected documents. You should google for this.

  7. antoniogallo73 July 2, 2014 at 11:53 pm

    is it possible to interface automatically keepass with libreoffice ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: