Lock PDF

Post Reply
schmitzdp
Member
Posts: 60
Joined: Thu Aug 06, 2020 1:36 pm

Lock PDF

Post by schmitzdp »

Hello,

Is there an action that locks the pdf for editing but not for printing ?
(without used the paid App PDFCrypt (https://www0.enfocus.com/en/appstore/product/pdfcrypt)

Thanks
User avatar
tdeschampsBluewest
Member
Posts: 147
Joined: Tue Jun 01, 2021 11:57 am

Re: Lock PDF

Post by tdeschampsBluewest »

You can install PDFtk (https://www.pdflabs.com/tools/pdftk-server/) on your server, and use the following command, with run command app :

Code: Select all

pdftk.exe "%%InputFilePath%%" output "[Job.NameProper].pdf" owner_pw "1512!" user_pw "1234" allow Printing

Here is a quote from the documentation, for the permission
[ allow < permissions > ]
Permissions are applied to the output PDF only if an encryption strength is specified or an owner or user password is given. If permissions are not specified, they default to ’none,’ which means all of the following features are disabled.

The permissions section can include one or more of the following features:

Printing – Top Quality Printing
DegradedPrinting – Lower Quality Printing
ModifyContents – Also allows Assembly
Assembly
CopyContents – Also allows ScreenReaders
ScreenReaders
ModifyAnnotations – Also allows FillIn
FillIn
AllFeatures – Allows the user to perform all of the above, and top quality printing.
Do you like the Enfocus Apps developed by Bluewest?
Feel free to leave a comment on the Appstore!
schmitzdp
Member
Posts: 60
Joined: Thu Aug 06, 2020 1:36 pm

Re: Lock PDF

Post by schmitzdp »

I would have preferred to use Pitstop (if the function existed) or an application from the appstore.
yosimo
Member
Posts: 69
Joined: Tue Mar 27, 2018 6:25 pm

Re: Lock PDF

Post by yosimo »

schmitzdp wrote: Fri Jul 11, 2025 1:05 pm ...I would have preferred to use Pitstop...
As an alternative to a PitStop action list, you could do this directly with Acrobat's own Action Wizard tool and a custom Acrobat action. The screenshot shows how.
Attachments
Screenshot1.png
Screenshot1.png (110.77 KiB) Viewed 510 times
loicaigon
Advanced member
Posts: 689
Joined: Wed Jul 10, 2013 10:22 am

Re: Lock PDF

Post by loicaigon »

Hi there,

A feature you can use is actually Certified PDF. if you certify the PDF, you at least "freeze" the PDF in a certain state. If the document is further modified, the certification will drop. And if recertified, you will have access to History about who dit it and when.
Icing on the cake, you can revert to the previous certified state.

This is not locking per say, but I think Certified PDFs are underestimated.

https://cdn-www.enfocus.com/manuals/Ref ... ertif.html
Loïc Aigon
Enfocus PitStop Product Manager
Post Reply