Platforms

How to Password Protect a PDF on Linux

Updated 2026-09-17 · 2 min read

On Linux, most Linux PDF tools are viewers, and the editors that exist rarely match embedded fonts. That is why people end up searching for a way to password protect a PDF properly.

PDF security has two separate parts: the password needed to open the file, and the permissions controlling what can be done once it is open.

PDFfont edits PDF text in the document's own embedded font — no white cover boxes.

Edit a PDF

Doing it on Linux

Open Firefox or Chrome and choose the file from your home directory. Then work through the same steps as anywhere else:

Open the document and go to the security settings.

Set an open password — this encrypts the contents with AES-256.

Choose permissions: allow or disallow printing, copying and further editing.

Export, and send the password through a different channel from the file itself.

Saving the finished file

When you export, the browser save dialog writes it wherever you point it. PDF, PNG and JPG are all available.

Why nothing needs installing

Encryption is genuine protection; permissions are an instruction that well-behaved readers respect. Do not rely on permissions alone.

Because it all runs in a browser tab, it also works on managed school and work devices where you cannot add software.

Frequently asked

Can I remove the password later?

Yes, if you can open the file with it.

Will it still open on a phone?

Yes, the reader prompts for the password.

Does this work on older Linux versions?

Yes — any reasonably current browser is enough, regardless of the operating system version.

Related reading

Try it on your own document

$1 for 7 days of unlimited editing and downloads, then $5 a month or $29.99 a year. Cancel anytime.

See pricing