Chapter 21 · 21.3
Encrypt a document with a password, open it or remove the password
A personnel file, a payroll list or a quote with sharp prices: sometimes you want only people with a password to be able to open the file, even if it accidentally ends up with the wrong person. Euro-Office can encrypt a document with a password. You can also open a password-protected PDF, but you can't put a password on one yourself: see Protecting a PDF with a password.
Example: the personnel file of Bakkerij De Korenaar, with an employee's salary.
Three types of protection, don't mix them up
| What | What it does | Where |
|---|---|---|
| Encrypt | Without the password, nobody can open the file, not even after downloading it. | This article |
| Protect Document or Protect Sheet | Anyone can open and read the file, but can't edit it (or can't edit everywhere). | Protect a document: read only, comments only or tracked changes only and Protecting formulas in a shared spreadsheet |
| Password on a share link | Anyone who opens the link has to enter a password first. The file itself is not encrypted. | Password and expiration date on a link |
Encrypt a document
- Open the document in your WebOké Nextcloud.
- Go to the Protection tab and click Encrypt (1).

- The Set password window opens. Type the password in Password and again in Repeat password. Click the eye icon to see what you're typing.
- Click OK. Euro-Office saves the document encrypted.

Please note: Euro-Office already warns you in the window: if you lose the password, the file can no longer be opened. WebOké can't recover it either. Keep the password in a password manager.
Open an encrypted file
Click the file in your Nextcloud as usual. Euro-Office shows the Protected file window (1). Type the password and click OK. With Close File you go back without opening it.

After that, you work in the document as usual. It stays encrypted: we checked this in the demo by reopening the file after editing it, and Euro-Office asked for the password again. So you don't need to encrypt it again after every change.
Change or remove the password
If the document is encrypted and open, click the arrow below Encrypt (1) on the Protection tab. You can choose:
- Change password: set a new password, for example when an employee leaves the company.
- Delete password: the file is saved normally again, without a password.

What you need to know
- The same encryption as Microsoft Office. In our test, Euro-Office saved the file with the same type of encryption that Word and Excel use. We didn't test Word or Excel themselves. If you send an encrypted file to someone who uses Word, ask them to check that it opens.
- Sharing. If you share an encrypted file with a colleague, they need the password too. Never send the password in the same email or chat as the link.
- Forgotten it? Check the file's version history (see Version History: restoring an older version): if there's a version from before you encrypted it, you can restore that one. Otherwise, the content is lost.
Tip: your WebOké Nextcloud already runs on European servers, and only the people you share with can access your files. Encryption is an extra lock for files that need to stay secure outside your Nextcloud as well, for example when you download or email them.
