You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Мэхди Эсмаилпур <me...@gmail.com> on 2014/12/23 16:52:10 UTC
pdfbox encrypted pdf - print to file problem
Hi all,
I use pdfbox to encrypt a pdf file.after encryption process i use
pdfinfo to verify encryption and pdfinfo said :
Encrypted: yes (print:no copy:no change:no addNotes:no)
problem is in the print to file!when i open secured PDF in Document
Viewer in Ubuntu i can print pdf to another pdf file and create
unsecured file.
Any solution for this problem?
Thank you guys
Re: pdfbox encrypted pdf - print to file problem
Posted by Мэхди Эсмаилпур <me...@gmail.com>.
OK
Thank you for that useful link.
On 12/23/14, Tilman Hausherr <TH...@t-online.de> wrote:
> Unless I've misunderstood something, it means that the Ubuntu Document
> Viewer is a non-compliant PDF viewer.
>
> PDF does not really protect against printing. See e.g. here:
> https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
>
> The goal of protecting a PDF file is typically something like this:
> you want a viewer application to be able to display the file but not
> be able to print it. (PDF has additional options to disallow
> copy-and-pasting text and editing the file; the same argument applies
> to them.) The problem here is that exactly the same information is
> used for both functions -- once you have a (decrypted) page
> description, it can be turned into either pixels on the screen or
> toner dots on a printed page.
>
>
>
> Tilman
>
> Am 23.12.2014 um 17:14 schrieb Мэхди Эсмаилпур:
>> Yes,i use version 1.8.8.
>> I test it in Foxit Reader.Foxit show secured pdf and don't allow
>> printing,commenting and ...
>> Exists any solution to fix Document Reader problem?
>>
>> On 12/23/14, Tilman Hausherr <TH...@t-online.de> wrote:
>>> Hi,
>>>
>>> 1. Your text sounds like the document viewer in Ubuntu is the cause.
>>> What happens if you try to print that pdf with Adobe Reader?
>>> 2. What version are you using? The correct one should be 1.8.8.
>>>
>>> Tilman
>>>
>>> Am 23.12.2014 um 16:52 schrieb Мэхди Эсмаилпур:
>>>> Hi all,
>>>>
>>>> I use pdfbox to encrypt a pdf file.after encryption process i use
>>>> pdfinfo to verify encryption and pdfinfo said :
>>>>
>>>> Encrypted: yes (print:no copy:no change:no addNotes:no)
>>>>
>>>> problem is in the print to file!when i open secured PDF in Document
>>>> Viewer in Ubuntu i can print pdf to another pdf file and create
>>>> unsecured file.
>>>>
>>>> Any solution for this problem?
>>>>
>>>> Thank you guys
>>>
>
>
Re: pdfbox encrypted pdf - print to file problem
Posted by Tilman Hausherr <TH...@t-online.de>.
Unless I've misunderstood something, it means that the Ubuntu Document
Viewer is a non-compliant PDF viewer.
PDF does not really protect against printing. See e.g. here:
https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
The goal of protecting a PDF file is typically something like this:
you want a viewer application to be able to display the file but not
be able to print it. (PDF has additional options to disallow
copy-and-pasting text and editing the file; the same argument applies
to them.) The problem here is that exactly the same information is
used for both functions -- once you have a (decrypted) page
description, it can be turned into either pixels on the screen or
toner dots on a printed page.
Tilman
Am 23.12.2014 um 17:14 schrieb Мэхди Эсмаилпур:
> Yes,i use version 1.8.8.
> I test it in Foxit Reader.Foxit show secured pdf and don't allow
> printing,commenting and ...
> Exists any solution to fix Document Reader problem?
>
> On 12/23/14, Tilman Hausherr <TH...@t-online.de> wrote:
>> Hi,
>>
>> 1. Your text sounds like the document viewer in Ubuntu is the cause.
>> What happens if you try to print that pdf with Adobe Reader?
>> 2. What version are you using? The correct one should be 1.8.8.
>>
>> Tilman
>>
>> Am 23.12.2014 um 16:52 schrieb Мэхди Эсмаилпур:
>>> Hi all,
>>>
>>> I use pdfbox to encrypt a pdf file.after encryption process i use
>>> pdfinfo to verify encryption and pdfinfo said :
>>>
>>> Encrypted: yes (print:no copy:no change:no addNotes:no)
>>>
>>> problem is in the print to file!when i open secured PDF in Document
>>> Viewer in Ubuntu i can print pdf to another pdf file and create
>>> unsecured file.
>>>
>>> Any solution for this problem?
>>>
>>> Thank you guys
>>
Re: pdfbox encrypted pdf - print to file problem
Posted by Мэхди Эсмаилпур <me...@gmail.com>.
Yes,i use version 1.8.8.
I test it in Foxit Reader.Foxit show secured pdf and don't allow
printing,commenting and ...
Exists any solution to fix Document Reader problem?
On 12/23/14, Tilman Hausherr <TH...@t-online.de> wrote:
> Hi,
>
> 1. Your text sounds like the document viewer in Ubuntu is the cause.
> What happens if you try to print that pdf with Adobe Reader?
> 2. What version are you using? The correct one should be 1.8.8.
>
> Tilman
>
> Am 23.12.2014 um 16:52 schrieb Мэхди Эсмаилпур:
>> Hi all,
>>
>> I use pdfbox to encrypt a pdf file.after encryption process i use
>> pdfinfo to verify encryption and pdfinfo said :
>>
>> Encrypted: yes (print:no copy:no change:no addNotes:no)
>>
>> problem is in the print to file!when i open secured PDF in Document
>> Viewer in Ubuntu i can print pdf to another pdf file and create
>> unsecured file.
>>
>> Any solution for this problem?
>>
>> Thank you guys
>
>
Re: pdfbox encrypted pdf - print to file problem
Posted by Tilman Hausherr <TH...@t-online.de>.
Hi,
1. Your text sounds like the document viewer in Ubuntu is the cause.
What happens if you try to print that pdf with Adobe Reader?
2. What version are you using? The correct one should be 1.8.8.
Tilman
Am 23.12.2014 um 16:52 schrieb Мэхди Эсмаилпур:
> Hi all,
>
> I use pdfbox to encrypt a pdf file.after encryption process i use
> pdfinfo to verify encryption and pdfinfo said :
>
> Encrypted: yes (print:no copy:no change:no addNotes:no)
>
> problem is in the print to file!when i open secured PDF in Document
> Viewer in Ubuntu i can print pdf to another pdf file and create
> unsecured file.
>
> Any solution for this problem?
>
> Thank you guys