Skip to main content

Guide with sample file

Protect a PDF

Create an encrypted copy, download it, then check the correct and a wrong password.

Steps

  1. Download the synthetic sample

    Use the three-page sample PDF from the workflow guide. It contains no personal content and is small enough for the default server limit.
  2. Open Protect PDF and add the sample

    Choose the file in Protect PDF. This operation uploads the PDF to the PDF Flash server for processing.
  3. Set a password for this demo

    For the public sample only, use flint-demo-8421. This is a published example password, so do not use it for a private document. Choose a different, unique password for your own file.
  4. Create and download the protected copy

    Select Protect PDF, wait for the result, then download the new file. The operation requests AES-256 PDF encryption and checks that the generated file accepts the supplied password.
  5. Check both password cases

    Open the downloaded file and enter flint-demo-8421; it should open. Then try a deliberately wrong password; the viewer should reject it. Keep your password separately because PDF Flint cannot recover it.

Expected result

A separate encrypted PDF that opens with the chosen password and rejects a wrong password in a compatible PDF viewer. This check covers the sample and viewer used; it is not a universal security guarantee.

All guides