Op 23/12/2010 10:09, nkumarkv schreef:
> Hi,
> I am encrypting a PDF (disabling copy and modify) using PdfStamper
> SetEncyption method. I am passing null to both User and Master password
> parameters of this method. But when i open the encrypted PDF i still see
> Master Password set as "Yes". As per the guide if Master Password is null it
> is set to some random value by SetEncryption.
That's correct.
>   But i dont want this to
> happen. Because with this i will not be able to merge the resulting pdf
> files.I want this Master Password to be set to "No". Is it possible to
> encrypt a pdf file without the Master Password ??
Why do you want to encrypt the PDF? Because you want to set a user password?
That doesn't make sense if you don't provide an owner password.
Every user would be able to open the document which defies the purpose 
of having a user password.
>   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.

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

Reply via email to