SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Jul 2007
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up How to Dynamically Password Protect PDF With Members Password

    Anyone know how that is possible or can refer me to any tutorials or code?

    Thanks

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Nope not possible.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  3. #3
    SitePoint Member
    Join Date
    Jul 2007
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's a sad day

  4. #4
    Grumpy Minimalist
    Join Date
    Jul 2006
    Location
    Ontario, Canada
    Posts
    424
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If course it's possible; it just means that your PHP script will need a knowledge of the PDF format. There are plenty of examples online that you can find through Google. For example, this open source PHP app converts HTML files into PDFs, and supports adding passwords. You could either convert your source PDF into HTML and use this for dynamic generation (if possible), or (more preferably) look through the source code to see how they add a password to the file. Of course, doing so will probably involve a LOT of time in analysis, unless you can find a better option through Google.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •