Making PDF Content Readonly using PHP

Posted on 2006-04-06
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.
Question by:lword
    1 Comment
    LVL 4

    Accepted Solution

    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.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    This is a general how to create your own custom plugin system for your PHP application that you designed (or wish to extend a third party program to have plugin functionality that doesn't have it yet).  This is not how to make plugins for existing s…
    The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
    Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
    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…

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now