Hi all, I don't adequately understand the relationship between the permissions defined by iTextSharp and the related permissions you see when you look a document's properties' Security. It appears that some permissions depend upon others, or are overruled by others. To illustrate, open a PDF file and hit control-D and select the "Security" pane. You'll see a "Document Restrictions Summary" consisting of 9 items from "Printing" to "Creation of Template Pages." Moreover, if you click the button "Change Settings," you'll see another dialog to set open and modify passwords, and there are additional security settings here. This is what my boss looks at.
Meanwhile, I'm running iTextSharp, and I see PdfWriter.AllowAssembly through PdfWriter.AllowScreenReaders that I OR together for use in conjunction with the Writer's SetEncryption() method. And when I read back the PDF file, I get the reader.Permissions, just fine. This is what I look at. Trouble is that I don't adequately understand the relationship between the bits of the Permissions flag, and those document restrictions I see summarized by Adobe Acrobat as document properties. I figure I have to document this relationship for my boss, or point to someplace else where it is defined. Is this documented in the PDF Reference v1.6? If so, is there any clearer statement than the table on page 99-100? Am I barking up the right tree? I'm sorry if this is a "how deep is blue" question, steve ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions