There's org.apache.pdfbox.Encrypt which is a standalone tool. It can
protect PDFs, encrypt them, or both.
If you want to confirm that protection and encryption are different,
take a file and save one as protected and the other as encrypted, then
open them both in a text editor to compare.
--Adam
Adam...below
On Aug 25, 2011, at 7:46 PM, Adam Nichols wrote:
> AccessPermission can be used without encrypting the PDF. That's why I
> said it is not related to encryption.
I would be very interested in knowing how you do that. Searching the PDFBox
1.4.0 tree, I can only find uses of AccessP
AccessPermission can be used without encrypting the PDF. That's why I
said it is not related to encryption.
However, if you are encrypting something, AccessPermission will be
used. So I'd still say that AccessPermission is not related to
encryption. If you had to encrypt the file in order to us
Hello Adam,
Thanks for the reply. Unfortunately, we're not interested in encrypting the
form; only in preventing
further changes beyond a nominal "finished" point. I was only hoping for a
"global" way of doing that.
I think you may have made an error when you said
> Now, to answer your quest
Hello.
First, let me explain what the options are in terms of protecting a PDF.
There are three different types:
1. No protection. There's no encryption, no passwords, and anyone with
the right software can read, modify, extract, print and whatever else
they desire.
2. PDFs with an owner passwor
Hi Everyone,
We have routines which create and fill out pdf forms using PDFBox.
After creating and filling the fields, we need to make all of them read-only.
Is there a global way to do this with PDFBox for a form?
Or do I need to go through and apply PDField.setReadonly(true) to each field?
I'
6 matches
Mail list logo