From: David Griffith on
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
davidmylastname(a)acm.org <--- Put my last name where it belongs
From: David Griffith on
David Griffith <davidmylastname(a)acm.org> 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
davidmylastname(a)acm.org <--- Put my last name where it belongs