If you give the owner password you can do everything.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: AI Click [SMTP:[EMAIL PROTECTED]
> Sent: Monday, October 13, 2003 12:40
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] encrypting a pdf file
> 
> Kindly refer to your document for following  option.
> 
> I find that this option is not working.
> Refer to attached files.
> Original file if EJBar.... and encrpyted file is abc.pdf with permission
> 00000000, password "santosh"
> But still copy print is allowed.
> 
> Kindly give feedback.
> 
> Rgds,
> Santosh
> _____________________________________________
> com.lowagie.tools.encrypt_pdf
> This class can be used from the commandline to encrypt a PDF file.
> arguments: input_file output_file user_password owner_password permissions
> 128|40
> permissions is 8 digit long 0 or 1. Each digit has a particular security
> function: 
> AllowPrinting 
> AllowModifyContents 
> AllowCopy 
> AllowModifyAnnotations 
> AllowFillIn (128 bit only) 
> AllowScreenReaders (128 bit only) 
> AllowAssembly (128 bit only) 
> AllowDegradedPrinting (128 bit only) 
> Example permissions to copy and print would be: 10100000
> Command line example:
> java -cp itext.jar com.lowagie.tools.encrypt_pdf Chap0101.pdf
> encrypted.pdf user master 00000000 128
> You will only be able to open the file encrypted.pdf if you know the
> password (= user). You won't be able to print the file, modify the
> contents, copy parts of it,... 
> 
> 
> 
> 
> 
> <<<<AIRINDIA>>>> << File: EJBArchitectures.pdf >>  << File: abc.pdf >> 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to