I suspected so because I looked at Acrobat and played with the different 
options.  It seems if I want anything other than "Print Allowed", I'll be 
required to put in the password.  The options that I need are just "printing" 
and "document assembly" (which enabled insert documents).  I want to give my 
users the ability to combine documents, but not modifying the contents.  I 
noticed that once I enabled that option, user can delete pages within the 
document.  Seems like Acrobat doesn't allow the option to insert the entire 
document only.  I suppose that's okay, as long as I don't need to provide my 
users a password every time they want to combine documents.  Of course if this 
is a feature that doesn't exist in Acrobat (so far I have no success finding 
otherwise), I will have no choice but to decrypt my documents.

Thanks,
Katherine


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares
Sent: Monday, May 28, 2007 8:55 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] change document restriction onDocumentAssembly

You are prompted for the owner password because you can't extract pages without 
it. You should first play a bit in Acrobat and then tell us what are the 
options that work for you. We will then tell you what to do in iText. It looks 
like you want iText to do more than what Acrobat will allow.

Paulo

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Katherine TUNG
> Sent: Monday, May 28, 2007 4:50 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] change document restriction 
> onDocumentAssembly
> 
> Hi Bruno,
> 
> I inherited the code, so I'm not really sure the original intent of 
> setting one but not the other.  I did try to put "null" in both 
> places, and I still get prompted for password.  Is there another way I 
> can change the restrictions without setting the password?
> 
> Thanks,
> Katherine
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Bruno Lowagie
> Sent: Saturday, May 26, 2007 2:12 AM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] change document restriction on 
> DocumentAssembly
> 
> Katherine TUNG wrote:
> > I
> > created two PDFs with this setting (Allow Printing and
> Assembly) but
> > as soon as I open one of the PDFs, and click "Insert", a dialog 
> > prompts me for a password.
> 
> Looking at your code, I have the impression that you are setting the 
> userPassword, not the ownerPassword. Any reason for this?
> br,
> Bruno


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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