Expand my Community achievements bar.

How to set the masterPassword inside the XCI-options

Avatar

Former Community Member
Hi,

I am generating PDF-Files with Adobe Form Server 7.2 using the renderForm method. The documentation describes that the Form Server is able to encrypt the resulting PDF and setting masterPassword as well as a userPassword using the XCI string. Both passwords should be provided as String.



If I use the following XCI-String:



XCI=present/pdf/encryption/permissions/print=0;present/pdf/encryption/encrypt=1;present/pdf/encryption/userPassword=hello;present/pdf/encryption/masterPassword=world



the document gets encrypted an I am requested to enter a password to open it. But neither "hello" nor "world" is accepted by Acrobat.



Am I missing something?

Stephan
0 Replies