Setting PDF Security Options with PHP

Here's what I need to do (the pdf file is already on the server)

1. open up the pdf file, set security options (dont' allow printing and copying)
2. Reduce the resolution of the pdf (optional.. if i can't do this step that's ok)
2. save the file.

I don't want to have to buy the $450 phplib just to do this as i don't need to create pdf's, just modify them. Is there something free out there that can do it, or something I can do myself?

It need to happen programmaticly via PHP.

Than you for all help in advance.
LVL 1
micamediaAsked:
Who is Participating?
 
micamediaAuthor Commented:
neither of these is what i'm talking about...

I'm talking about setting the embedded PDF security options (The master password and the permissions password) via php. I see that i can do with with a product call PLOP, (and possibly PHPlib?). But i was wondering if there are any free options out there.

Dan
0
 
micamediaAuthor Commented:
Yes.. looks like PLOP is the answer. I just tired it out for myself. Seems to be the answer. Only problem is requiring users to install PLOP to run this script. I guess they can pay me to install PLOP for them.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.