Alex Rivera | Logout

Removing PDF password protection, knowing the password

Asked 2013-07-12T11:02:27.250
8

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?

Edit
Report

1 Answer

1

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"

answered 2013-07-12T17:32:39.223

Your Answer