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 ------------------------------------------------------------------------ - 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/ ------------------------------------------------------------------------- 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/
