For the complete documentation index, see llms.txt. This page is also available as Markdown.
SecurityUIFull-APIPDF/UAPDF/A

Password Protection Showcase Demo Code Sample

Requirements

These packages are required to use these features in production. Trial keys have unlimited access to all features

Web SDKPackage: SecurityLive demo

Open encrypted, password-protected PDFs using the correct password, and create new ones with built-in support for 128-bit or 256-bit AES encryption. Easily integrate custom security algorithms to further strengthen PDF protection.

This demo allows you to:

  • Password-Protect PDFs with your own password

  • Download encrypted password-protected PDF

  • Support 128-bit or 256-bit AES encryption

  • Customize encryption

Implementation steps To add Password Protection capability with WebViewer:

Step 1: Choose your preferred web stack Step 2: Add the ES6 JavaScript sample code provided in this guide

Once you generate your license key, it will automatically be included in your sample code below.

spinner