Controlling Encryption Options
|Top Previous Next|
To set the security permissions, you can create a DWORD value named "security permissions" at any of the standard registry locations.
The DWORD value must be named "security permissions", and the value is defined by Adobe in the PDF specification available from: http://partners.adobe.com/asn/tech/pdf/specifications.jsp
The following table from this specification defines the privileges:
The default value is 0xfffffffc. For example, to create a PDF document that doesn't allow printing you need to set bit position 3 to a 0 so you would set the "security permissions" to 0xfffffff8.
The following table lists common combinations of security permissions:
Disable printing 0xfffffff8
You can set passwords by creating String values named "user password" or "master password" to password protect documents. The passwords are only used if encryption is enabled in the "file options" setting. All registry values are deleted after each document unless the persistent value is set.
The security permissions and passwords are only valid for Win2PDF Pro.