I have a bunch of pdf's I want to remove passwords from. Note that I know the password, so no need for brute forcing. I am working on a mac, so I would like to make an app to remove those passwords.
I have seen apps like wondershare's pdf password remover, so I know it is possible.
Is there a solution/library in the obj-c environment to remove passwords from PDF's?
ok. Here is the easy solution.
Done.
I think this would work for you. Both answers seem valid, I personally would opt for the second one.
Transcribed:
do shell script "pdftk secured.pdf input_pw foopass output unsecured.pdf"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With