Customizer's Guide > Customizing PDF Publishing > General Element > Security Element
  
Security Element
The <Security> element limits access to the PDF file. It’s optional and may be used once.
The <Security> element has no child elements.
The <Security> element has the following attributes and values:
Attributes of the Security element
Attribute and values
Description
userPassword = CDATA
Specifies a user password that is needed to view the PDF file.
* 
When using a password, the PDF file is encoded using 128-bit encryption (40-bit encryption when 1.3 compatibility is used).
masterPassword = CDATA
Specifies a password to override security restrictions (noPrint, noModify, noCopy, noAnnots, noForms, noAccessible, noAssemble, noHiresPrint) that are applied when the PDF file is created This password must be different than the user password.
noPrint = yes | no
When set to yes, prevents printing of the PDF file. You must also specify a masterPassword when this attribute is set to yes.
noModify = yes | no
When set to yes, prevents modifying of the PDF file. You must also specify a masterPassword when this attribute is set to yes.
noCopy = yes | no
When set to yes, prevents copying and extracting text and graphics, and disables the accessibility interface of the PDF file. You must also specify a masterPassword when this attribute is set to yes.
noAnnots = yes | no
When set to yes, prevents adding or changing comments or form fields in the PDF File. You must also specify a masterPassword when this attribute is set to yes.
noForms = yes | no
When set to yes, prevents changing form fields in the PDF file. You must also specify a masterPassword when this attribute is set to yes.
noAccessible = yes | no
When set to yes, prevents extracting text and graphics in the PDF file for accessibility purposes (such as for a screen reader program). You must also specify a masterPassword when this attribute is set to yes.
noAssemble = yes | no
When set to yes, prevents inserting, deleting, or rotating pages, and creating bookmarks and thumbnails in the PDF file. You must also specify a masterPassword when this attribute is set to yes.
noHiresprint = yes | no
When set to yes, prevents high-resolution printing of the PDF file. If noprint = yes, printing is restricted to the “print as image” option. You must also specify a masterPassword when this attribute is set to yes.
For detailed information about attribute inter-dependencies see Adobe documentation.