altering PDF file security settings

Discussion in 'Perl Misc' started by David Griffith, Mar 18, 2010.

  1. I'm trying to come up with a way to alter the security settings on PDF
    files. For example: I frequently rebuild PDF forms. Manually running
    these through Adobe Acrobat Pro is extremely tedious. If I can come up
    with a Perl script to strip the security settings, that would speed
    things up a great deal. So... How can I, with Perl, alter these
    security settings?

    --
    David Griffith
    <--- Put my last name where it belongs
     
    David Griffith, Mar 18, 2010
    #1
    1. Advertising

  2. David Griffith <> wrote:
    > I'm trying to come up with a way to alter the security settings on PDF
    > files. For example: I frequently rebuild PDF forms. Manually running
    > these through Adobe Acrobat Pro is extremely tedious. If I can come up
    > with a Perl script to strip the security settings, that would speed
    > things up a great deal. So... How can I, with Perl, alter these
    > security settings?


    To answer any suggestions for using CAM::pDF, I tried that. The
    following command yielded a corrupted file. Different combinations of
    permissions didn't seem to help.

    rewritepdf.pl -P 0 0 0 0 foo.pdf bar.pdf

    --
    David Griffith
    <--- Put my last name where it belongs
     
    David Griffith, Mar 18, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Siegfried Heintze
    Replies:
    0
    Views:
    2,338
    Siegfried Heintze
    Oct 24, 2005
  2. leeanne
    Replies:
    0
    Views:
    1,932
    leeanne
    Sep 24, 2008
  3. donet programmer
    Replies:
    3
    Views:
    1,642
    Gregory A. Beamer
    Nov 20, 2009
  4. Ricardo Pog
    Replies:
    1
    Views:
    487
    Austin Ziegler
    Mar 26, 2008
  5. Sean Nakasone
    Replies:
    1
    Views:
    428
    Farrel Lifson
    Apr 14, 2008
Loading...

Share This Page