> > how can i set Master > > Password to "No" ? > You don't. Use a master password you know, and use that > password when you want to merge the PDF documents.
Agreed. This need not be a fixed value either. It could be something you compute based on the file name for example... Or based on some data in the PDF itself (XOR the document ID with some properly bizzare chunk of bits... 0xDEADBEEF for example (only not that). You could open the file with the user password, get whatever data you needed, compute the master/owner password, close it, and reopen it with the owner password. Alternatively, you could /not/ encrypt the separate files at all, and only encrypt the merged files. I suspect the individual PDFs will never end up in front of a user on their own, right? If so, protecting them is pointless. You only need to lock down the files that end up in front of a user. --Mark Storer Senior Software Engineer Cardiff.com import com.cardiff.disclaimer; Disclaimer<Cardiff> DisCard = null; ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
