Thanks for your reply Micheal,
 But I don't want to have any owner password for the encrypted pdf. Is that
possible? We just need to have user password. Also, I think it doesn't work
if we have same password for user and owner. That's a different case..I am
trying to encrypt the pdf with out any owner password for now. If that's
not feasible I would like to have same password for user and owner.

Thanks,
Satya


On Wed, Jul 24, 2013 at 4:07 PM, mkl <m...@wir-sind-cool.org> wrote:

> Satya,
>
> satya.praks wrote
> > We don't need the owner password. When we pass null, it sets up some
> > random password which we don't need. We just want to bypass that.
>
> The PDF specification states in the description of the encryption
> algorithms:
>
>     If there is no owner password, use the user password instead.
>
> Thus, having a user password but no owner password is equivalent to having
> the same owner and user password.
>
> In your use case, therefore, you should use the same passwords for user and
> owner.
>
> Regards,   Michael
>
>
>
> --
> View this message in context:
> http://itext-general.2136553.n4.nabble.com/Can-I-encrypt-with-out-setting-up-owner-password-tp4658797p4658800.html
> Sent from the iText - General mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> 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
>



-- 
Thanks and Regards,
Satya
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
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