Hi;
 
Am I correct in assuming that setEncryption does 2 things:
1) Sets the user password
2) Sets the open permissions
 
But both are locked by the owner password.
 
thanks - dave
 
----- Original Message -----
Sent: Thursday, July 10, 2003 4:53 PM
Subject: RE: [iText-questions] Setting security in the pdf document

Hi
 
Look at the setEncryption method of the PdfWriter. For example to allow only printing use this :
 
writer.setEncryption(PdfWriter.STRENGTH40BITS, null, null, PdfWriter.AllowPrinting);
 
Cezar
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of David Thielen
Sent: Friday, July 11, 2003 1:47 AM
To: itext
Subject: [iText-questions] Setting security in the pdf document

Hi;
 
How do I set the security in the pdf document (can print, can copy, etc.)?
 
thanks - dave

Reply via email to