We help IT Professionals succeed at work.

Making PDF Content Readonly using PHP

lword asked
Medium Priority
Last Modified: 2008-03-06
I have created PDF using native php class (FPDF). Can some one tell how to make the Content READONLY. User should be able to open and read the document but should not edit the content using Acrobat or any PDF editing program.

Thanks in Advance.
Watch Question

The only thing you can do, as far as i know, is put a password on the PDF (which, as far as i know, is not possible with the FPDF or standard PDF classes given to us by PHP).

Keep in mind though, also as far as i know, the strength of PDF passwords is 40bit. Which means that on an average pc and 1 minute of googling, one could remove that password very easily.


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.