--- title: "How Do I Password-Protect PDF Files in Lasernet? - FAQ" slug: "how-do-i-password-protect-pdf-files-in-lasernet" description: "Password-protecting PDF documents generated by Lasernet provides an additional level of security to potentially sensitive data. " updated: 2026-09-25T08:14:51Z published: 2026-09-25T08:14:51Z canonical: "kb.lasernetgroup.com/how-do-i-password-protect-pdf-files-in-lasernet" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt > Use this file to discover all available pages before exploring further. # How Do I Password-Protect PDF Files in Lasernet? Password-protecting PDF documents generated by Lasernet adds an additional layer of security to protect potentially sensitive data. For a visual demonstration of this functionality, watch our [dedicated video](https://youtu.be/6Ooy6r5Oa2w). ## Password Protection Types Two types of password protection can be assigned to PDF documents: - User password protection - Owner password protection Both user and owner password protection entail different types of limitations: | Area | User password protection | Owner password protection | | --- | --- | --- | | PDF/A Compliant | Not Allowed | Not Allowed | | Printing | Not Allowed | Allowed | | Document Assembly | Not Allowed | Not Allowed | | Content Copying | Not Allowed | Allowed | | Content Copying for Accessibility | Not Allowed | Allowed | | Page Extraction | Not Allowed | Not Allowed | | Commenting | Not Allowed | Allowed | | Filling of Form Fields | Not Allowed | Allowed | | Signing | Not Allowed | Not Allowed | | Creation of Template Pages | Not Allowed | Allowed | | Attachment | Not Allowed | Allowed | | File Type Conversion | Not Allowed | Not Allowed | ## Apply Password Protection to PDFs Generated by a PDF Engine Module To create a PDF security modifier and password-protect documents generated by a PDF Engine module, follow these steps: 1. Start Lasernet Developer. 2. Click **Tools** at the bottom-left of the window, then click **Modifiers** (see 1 in the image below). 3. In the toolbar (at the top of the window), click **Add** (2). The **Add Modifier** window opens. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (4)(9).png) 4. Select **PDF Security**, then click **Ok**. The **Properties** window for the new modifier opens. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-73CS3WGE.png) 5. Click the **Setup** tab in the modifier’s **Properties** window, then click the **Encrypt** tab. 6. On the **Encrypt** tab: 1. Select the **Encrypt** checkbox. 2. Enter passwords into **User password**, **Owner password**, or both. 3. Click **Ok**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (6)(12).png) 7. As stated in the [limitations table](/v1/docs/how-do-i-password-protect-pdf-files-in-lasernet#password-protection-types), assigning a password prevents Lasernet from generating a PDF/A-compliant document. As a result, you must configure the PDF Engine module to not create PDF/A documents: 1. Click **Tools** at the bottom-left of the Lasernet Developer window, then click **Modules**. 2. Double-click the PDF Engine module in the Lasernet Core workflow. 3. In the **Properties** window for the PDF Engine module, click the **Setup** tab, then clear the **PDF/A Compliant** checkbox (see image below). ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (7)(10).png) 8. To apply the password protection to the Lasernet Core workflow, add your PDF Security modifier to any modifier point on or after the exit modifier point of the PDF Engine module. To add it as an exit modifier on the PDF Engine module, click the **Exit Modifiers** tab in the PDF Engine’s **Properties** window (indicated in red in the image above), then add the modifier there. ## Apply Password Protection to PDFs Generated by a PDF Form Instead of creating a PDF Engine module and a PDF Security modifier, you can apply security settings directly to PDF sheets in your form: 1. Open your form in Lasernet Form Editor. 2. Create a **PDF** sheet in the form. 3. Open the **PDF** sheet’s **Sheet Options** window, then click the **PDF Security** tab. 4. Click the **Encrypt** tab. 5. Set PDF security options on this tab. 6. Click **OK**. ![PDF security options for a PDF sheet in Form Editor.](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/PDF sheet options.png) ## Open the Generated File When a user opens the PDF document generated by Lasernet, a password input window opens. To open the PDF file, the user must enter the appropriate password. When working on the file, keep in mind its limitations due to its password protection. > [!WARNING] > Warning > > If the password is no longer known, the document cannot be opened. ## Use JobInfos to Define Passwords Lasernet modifiers and modules generally enable JobInfos to be used by typing # (hash) before and after the JobInfo’s name. JobInfos can also be used to set passwords in the PDF Security modifier. For an example of this, see the value of the **Owner password** property in the image under step 6. The JobInfo’s value must be set prior to the document reaching this modifier.