The xfj:security element is used to specify the PDF security flags.
<xfj:security
owner-password="ownerpass"
user-password="userpass"
encryption-strength="40 | 128"
allow-printing="true | false"
allow-modify-contents="true | false"
allow-copy="true | false"
allow-modify-annotations="true | false"
allow-fill-in="true | false"
allow-screen-readers="true | false"
allow-assembly="true | false"
allow-degraded-printing="true | false"/>
The meanings of the attributes that can be applied to the element are defined in the PDF Security Options section.