Protect a PDF with a password
You can protect a PDF so that only people with its password can open it, and limit what they can do with it once they have. This page covers protecting a file, seeing how a file is protected, and removing protection, in the web reader at app.laminapdf.com and in the desktop app.
Protect a file
Section titled “Protect a file”Open the PDF and choose Protect on the Edit toolbar, Protect document… from the More menu (the desktop app has it in the File menu), or run it from the command palette. Lamina PDF encrypts the file with AES-256.
- Require a password to open: type the open password twice. Lamina PDF can’t recover it, so keep it somewhere safe.
- Limit printing, copying and editing: type a permissions password, which is the one that lifts the limits, and choose what everyone else may do. Printing can be high quality, low resolution only or not allowed. You can allow copying text and images, filling in forms and signing, adding comments, and inserting, rotating or deleting pages. Limits always turn off changing the content, and allowing comments allows filling in forms too. The permissions password must differ from the open password: one password that is both would lift the limits for everyone who can open the file.
- Also encrypt the title, author and other document information: leave it ticked unless an app needs to read the title of the protected file without its password.
The limits are requests, not a lock. Most apps respect them, but anyone who can open the file can remove them with the right tool. Screen readers can always read the text.
Protect and save encrypts the file and saves it. Passwords stay on your device: Lamina PDF doesn’t save them, send them anywhere or show them again. Your browser’s password manager may still offer to save one; you can decline.
Signed files and PDF/A
Section titled “Signed files and PDF/A”Protecting rewrites the whole file, so the signatures in a signed file no longer apply. The dialog names each signature it removes before you protect. Save a protected copy… writes a protected copy and leaves the signed file as it is; Remove signature and protect protects the file itself.
A file that says it meets PDF/A can’t be encrypted, because PDF/A forbids it. The dialog says so, and Remove the PDF/A claim and protect takes the claim out first.
See how a file is protected
Section titled “See how a file is protected”A protected file shows Protected in the status bar, with its cipher and which password opened it. Select it to open the protection panel. The panel lists the kind of security, its revision, the cipher and key length, the limits, whether the title and author are encrypted, and which password opened the file. It never shows a key or a password. A change that waits for the next save comes first: Protected when saved, Protection changes when saved or Protection removed when saved, with what the save will write.
When a file’s limits apply to you (you opened it with its open password, or it opens without one), the tools they forbid are turned off and say why. To turn them back on, choose Enter the permissions password… in the protection panel or the command palette. The limits lift while the file stays open; the file itself doesn’t change.
Remove protection
Section titled “Remove protection”Choose Remove protection… from the protection panel, the File menu in the desktop app, or the command palette. The dialog sums up how the file is protected.
If you opened the file with its permissions password, gave it afterwards, or opened it with an open password that allows everything, you can remove its protection straight away. Otherwise, including a file that opens without a password but sets limits, type the permissions password first. A wrong one says That password doesn’t match, and nothing changes.
Removing protection is one step, which Undo takes back until you save. Saving rewrites the whole file without its encryption, so no encrypted or earlier copy stays inside it, and the saved file opens with no password.
To protect it again with new passwords or limits, choose Change passwords or limits…, which opens Protect with the file’s current limits. Protect on a file whose limits apply to you opens Change protection, which asks for the permissions password first.
Copy pages out of a protected file
Section titled “Copy pages out of a protected file”A file whose limits forbid copying can’t give its pages to another document. When you insert pages from it, merge it, or split or extract its pages in the web reader, Lamina PDF asks for its permissions password first, and the right one lets the copy go ahead. The desktop app stops the copy with a message instead.
Next, see Sanitise a PDF before you share it.