Chapter 19 · 19.12
Protecting a PDF with a password
Payslips, medical reports or a quote with sharp prices are not things you want to pass around freely. That's why many people ask how to put a password on the PDF itself, so that only the recipient can open it. Below you can read what Euro-Office in your WebOké Nextcloud can and cannot do, and what the safest approach is in practice.
A password on the PDF itself: not in the browser
In the PDF editor in the browser, the File menu has no Protect option. This means you can't set an opening password on a PDF in Euro-Office in your WebOké Nextcloud. You can do this for a text document: see Encrypt a document with a password, open it or remove the password.
Opening a password-protected PDF: that does work
Have you received a password-protected PDF yourself, for example a payslip from your payroll department? Put it in your WebOké Nextcloud and click it. Euro-Office asks for the password in the Protected file window. Type it and click OK; the PDF opens as normal. Reading it doesn't change the file: the password stays on it.

The better way: a link with a password and expiry date
A password-protected PDF that you send by email stays in the recipient's mailbox forever, and often in your sent mail too. It's safer to keep the PDF in your WebOké Nextcloud and share a link:
- Create a public link to the PDF set to View only (see Creating a public link (view or edit)).
- Add a password and an expiry date, for example 14 days from now (see Password and expiration date on a link).
- Send the link by email and the password through another channel, for example by text message or phone.
- After the expiry date the link stops working. You can also revoke it earlier if the PDF accidentally went to the wrong person.
This way you stay in control: you can revoke the link, and the file isn't sitting loose in someone else's mailbox.
Does it really have to be a password-protected PDF?
Some recipients insist on a protected PDF as an attachment. In that case, download the PDF (see Download as docx, xlsx, pptx, odt or pdf) and add the password with a PDF program on your computer that can do this. Send the password through another channel in this case too.
Pitfalls
- Forgotten password: a password on a PDF cannot be recovered. Keep it in your password manager.
- A weak password such as a date of birth or postcode is easily guessed. Use at least twelve characters.
