There is no problem in setting permissions.

Paulo

----- Original Message ----- 
From: "dhyton" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, October 22, 2007 7:21 PM
Subject: Re: [iText-questions] How to sign the PDF file that has the signing 
permission without setting owner password


>
> I have a similar problem, I need to set the permissions for a itext 
> generated
> report for compliance rules that have to do with the Financial Planning
> industry. I need the client to be able to read files I generate with out a
> password but I also need limit their permissions with the file.
>
> Is there a fast track for itext requests?
>
>
> Seung Hyun Park-2 wrote:
>>
>> Hello.
>>
>>
>>
>> I have a question about the signing of PDF with iText.
>>
>>
>>
>> I know that PDF encryption spec. provides the permission to allow signing
>> and adding annotations.
>>
>>
>>
>> I can sign a PDF file using Acrobat without typing owner password if it
>> has
>> the permission to allow signing.
>>
>>
>>
>>
>>
>> But, iText always needed owner password to sign on the PDF files, 
>> although
>> they already had the signing permission, when I made some test codes and
>> tried them.
>>
>>
>>
>> To be specific, PDFReader can read the PDF files encrypted without 
>> setting
>> owner password but error occurs at PdfStamper.CreateSignature method.
>>
>>
>>
>> If I set owner password at the constructor of PDF reader, the error
>> disappears.
>>
>>
>>
>> But, I have to insert signature without owner password at my scenario.
>>
>>
>>
>>
>>
>> My test codes are based on the article – "How to sign a PDF using iText
>> and
>> iTextSharp" and work well with unencrypted PDF files.
>>
>>
>>
>>
>>
>> How do I sign on the PDF files that they are encrypted but have signing
>> permission?
>>
>>
>>
>> Strictly speaking, I want to know that it is possible to sign them with
>> iText.
>>
>>
>>
>>
>> I attach the sample PDF file that I have used for testing.
>>
>>
>>
>>
>>
>> If you could take a few minutes to answer my questions, I would really
>> appreciate it.
>>
>> Always thank you in advance for your help.
>>
>>
>> Best regards,
>>
>> S. H. Park


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to