Cadastre-se agora para um orçamento mais personalizado!

How to password-protect a document with LibreOffice

05 de janeiro de 2023 Hi-network.com
Getty Images/iStockphoto

LibreOffice has been my office suite of choice for a very long time. And it's not just because it's readily available to the Linux operating system. LibreOffice offers tons of features, is compatible with MS Office documents, and rarely causes me the slightest headache.

See also

  • How to install Ubuntu Linux (It's easy!)
  • How to run a Windows app on Linux with Wine
  • How to get started with Git on Linux
  • How to kill a process in Linux

One LibreOffice feature I've been using for some time makes it easy to password-protect a document so that only those with the set password can open it. 

This is a must-have feature for anyone who creates documents that contain sensitive information.

Whether it's a business plan, client information, or your diary, you can protect the contents of that document without having to use a third-party application to encrypt your file.   

Also: Try these alternatives to common apps that you can use on Linux

Let me show you how this is done.

Requirements

The only thing you'll need for this is LibreOffice installed on your desktop or laptop. The password protection feature is built into LibreOffice, so there's nothing extra to install and it doesn't matter what operating system you use. I'll demonstrate this with LibreOffice 7.4.3.2. Although the feature has been around for some time, I would highly recommend you update LibreOffice to the latest version so all vulnerabilities are patched and you have access to any new features that have been added.

Once you have LibreOffice installed or upgraded, you're ready to test-drive the password protection feature. Let's see how it works.

How to password-protect a document with LibreOffice

1. Create a new document

Although you can password-protect any document, I would suggest trying it first with a new document so you can be certain the feature works as expected. You don't want to experiment with requiring a password for an existing file and then not be able to access it later.

With that in mind, open LibreOffice and create a new text document.

2. Save your document

Before you bother to type anything into the document, save it by clicking File > Save As. At the bottom left corner of the Save As window, click the checkbox for Save With Password. Give the file a name and then click Save at the top right of the window. 

LibreOffice's password protection option is found in the Save As dialog.

Screenshot by Jack Wallen/

3. Add a password

After clicking Save, you'll be prompted to type and verify the password for the document. Make sure to use a strong password, not a weak password that's easy to guess. (And make sure you'll remember it!) After adding the password, click OK. Save the document again and close it.

Setting a password to protect a LibreOffice document.

Screenshot by Jack Wallen/

4. If desired, choose option for file-sharing password

In that same window, you can expand the Options section and set a read-only password for file sharing. 

You can also set a read-only file sharing password.

Screenshot by Jack Wallen/

The next time you go to open the file, you'll be prompted to type the password. Unless you type the correct password, the file will not open. (So don't forget the password.) You can also password-protect a file on a shared drive and anyone who attempts to open it will also have to type the password. 

Also: You're definitely not making the most of your password manager

One thing to keep in mind, however, is that if you save the file to a different directory or under a different name, you'll need to go through the steps to password-protect it again. 

And that's all there is to protecting a LibreOffice document with a password.

Security

8 habits of highly secure remote workersHow to find and remove spyware from your phoneThe best VPN services: How do the top 5 compare?How to find out if you are involved in a data breach -- and what to do next
  • 8 habits of highly secure remote workers
  • How to find and remove spyware from your phone
  • The best VPN services: How do the top 5 compare?
  • How to find out if you are involved in a data breach -- and what to do next

tag-icon Tags quentes : Vida Profissional Produtividade

Copyright © 2014-2024 Hi-Network.com | HAILIAN TECHNOLOGY CO., LIMITED | All Rights Reserved.