Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Setting PDF Security Options with PHP

Posted on 2004-09-07
4
217 Views
Last Modified: 2008-02-20
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.
0
Comment
Question by:micamedia
  • 2
4 Comments
 
LVL 32

Expert Comment

by:ldbkutty
ID: 12002681
0
 
LVL 1

Author Comment

by:micamedia
ID: 12002791
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
 
LVL 9

Accepted Solution

by:
_GeG_ earned 500 total points
ID: 12003315
0
 
LVL 1

Author Comment

by:micamedia
ID: 12003381
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question