Security
------------------------------------------------------------------------
Creates a PDF document with password protection and permissions.

The sample creates a short PDF document and allows you to select owner
and user passwords, as well as set permissions for the document.