Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Insert Password Protection into PDF Doc's

by dragonchild (Archbishop)
on Dec 03, 2004 at 20:08 UTC ( #412256=note: print w/replies, xml ) Need Help??


in reply to Insert Password Protection into PDF Doc's

Generally, there aren't any good utilities to edit PDFs in Perl. Create, yes. Read, yes. Edit ... not so much.

Additionally, you are aware that password protection is an advisory thing in the PDF format. Adobe respects it, but there are literally dozens of utilities that you can google for that will read the PDF document and ignore the password.

If the publisher is demanding this, then ask them to provide a password-protected version. That way, if anyone cracks it, it's their problem, not yours. There is a legal liability issue. If you password-protect it and it's cracked, they can claim you screwed up. If, however, you're just the delivery vehicle, you are immune to liability for that issue.

Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

  • Comment on Re: Insert Password Protection into PDF Doc's

Replies are listed 'Best First'.
Re^2: Insert Password Protection into PDF Doc's
by SamCG (Hermit) on Dec 03, 2004 at 21:17 UTC
    Is it still true that passwords are merely advisory? I have difficulty finding information for this after Acrobat 5. . .
      All versions of Acrobat honor all passwords contained in a PDF. But, the PDF format itself treats passwords as advisory. So, it's a format issue, which means that any given client may choose to honor the passwords ... or not.

      Being right, does not endow the right to be rude; politeness costs nothing.
      Being unknowing, is not the same as being stupid.
      Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
      Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://412256]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2022-12-06 01:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?