Take a survey

Section A - DDX User Guide > Working with Secured Documents > Accessing a password-protected document

Accessing a password-protected document
When you assemble documents, it is possible that one or more of your source documents is encrypted with a password. The password must be specified for the Assembler service to be able to decrypt the data and work with it. To accomplish this, you do the following:
Specify a PasswordAccessProfile element as a child of the DDX element. This element must have one child element Password whose contents are the password itself. It must also have a name attribute that is a unique identifying string for referring to the profile from elsewhere in the DDX.
Refer to the profile name by means of the access attribute of the PDF source element.
This example shows the use of a PasswordAccessProfile element.
Example: Providing a password to access a document
<PDF result="doc2.pdf" encryption="None">
	<PDF source="doc1.pdf" pages="2-last" access="deptA"/>
</PDF>
<PasswordAccessProfile name="deptA">
	<Password>iamcy4jn</Password>
</PasswordAccessProfile>
If the password specified by the PasswordAccessProfile element is the master password, the Assembler service will be able to perform any operation on the document. If the password is the open password, the Assembler service can only perform operations allowed by the permissions specified when the document was encrypted.
In the example, if doc1.pdf does not permit pages to be extracted and the profile provides the open password, the Assembler service cannot do the assembly because it must remove one of the pages. Even though the example is creating a new document that will not be encrypted, the permissions on the source document are enforced.
Note: If a non-base document in an assembly is encrypted, you must provide the master password for the document in order for the Assembler service to be able to work with it. You must also provide the master password when the source document in a PDFsFromBookmarks element is encrypted.

Section A - DDX User Guide > Working with Secured Documents > Accessing a password-protected document

Document Description XML (DDX) Help
LiveCycle ES Update 1

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/8.2/ddxRef/000707.html