Step-by-step guide: How to generate an encrypted password-protected PDF document

Producing a document which shouldn’t be viewable by everyone or should contain restrictions is extremely easy with HelpNDoc. A few options let you define the level of encryption, passwords and user permissions for your generated PDF documents.

After you’ve completed your documentation, you can activate encryption and generate a password-protected PDF Document in three easy steps:

Access the generate documentation window

Step 1: Generate help

Click the top half of the Generate help button in the Home ribbon tab.

Customize PDF settings

Step 2: Select a PDF build

This displays the ‘Generate Documentation’ window. The builds created for this project are listed along the left-hand side in your build list. Click a PDF build to access its settings. Then, click Customize to access the PDF settings tab if it is not already visible.

Define PDF security settings

Step 3: Define PDF security settings

Click the PDF settings tab where you can customize the following settings:

Encryption Click Encrypt document to activate this feature. Select the level of encryption that you’d like to use. Optionally, you can define the passwords for owner (you) and your users. The owner will be granted all permissions while the users will only have access to the permissions defined in the ‘User permissions’ group.

User Permissions Select the permissions that you’d like to grant your users when accessing the PDF document: if they use the ‘User password’ to access this document, they will only be able to achieve the tasks checked in this group

Protected PDF document

When you click Generate the PDF document is created and you can click the link to access the document.

This displays a request for the Owner or User Password you defined previously.

When you need user access restrictions for your generated PDF document, simply change a few settings in HelpNDoc and it will rapidly produce a strongly encrypted, password protected document for you.