Security and signatures

Control who can open, print and change a PDF, remove sensitive content for good, and sign or certify drawings with a digital ID, so anyone can check who signed and whether the file has changed since.

Intermediate·12 minute read

You'll learn
How to password-protect and redact a PDF, create a digital ID, sign and certify, and read a signature's state.
Where
Document ▸ Security… Ctrl+L, Edit ▸ PDF Content and Tools ▸ Signature.
Signatures panel
Alt+4: who signed, and whether the file changed after they did.

Passwords and permissions

A PDF can carry two passwords:

Choose Document ▸ Security… Ctrl+L to see the file's security; the same summary is under Security in Document Properties Ctrl+D. The padlock in the navigation bar shows the state at a glance, and its menu has Change Permissions… and your saved presets.

The PDF Security dialog with an open padlock and the words No security is defined, a Change Permissions… button and a Close button.
PDF Security for a file with no protection. On a protected file it lists the encryption and each permission. Change Permissions… opens the Security dialog.

The Security dialog, also opened with Document ▸ Protect Using Password…, has these settings:

SettingWhat it does
Preset<Custom>, or a preset you saved with Save. Presets keep everything except the passwords.
Require Password to Open the DocumentTurns on Open Password and Confirm Open Password.
Enable Permissions to Limit Printing and EditingTurns on Master Password and Confirm Master Password, and the limits below.
PrintingNone, Low Resolution, or High Resolution (the default).
Fill Forms, Edit Markups, Edit Document, Page Manipulation, Copy Content, AccessibilityAll allowed at first. Untick what to deny.
EncryptionRC4 40-bit, RC4 128-bit, AES 128-bit, or AES 256-bit (the default and the strongest). Encrypt Metadata, on at first, encrypts the document's properties too.

OK waits until both confirmations match and the open and master passwords differ. With neither box ticked, OK removes the security. The three possible setups behave like this:

SetupOpening the filePrinting and editing
Open password onlyAsks for the password.In MarkupRight, nobody can edit or print it, and anyone who opens it can change its security. Other PDF viewers may give full rights.
Master password onlyOpens with no prompt.The limits apply until someone enters the master password.
BothEither password opens it.The open password gets the limits; the master password lifts them.

The padlock in the navigation bar shows which applies:

PadlockMeans
OpenNo security is defined.
Closed, blueA password is required to open the document.
With a keyholePrinting and editing are limited.
Closed, redBoth: a password to open, and limits.

To password-protect a PDF

  1. Choose Document ▸ Protect Using Password…
  2. Tick Require Password to Open the Document and type the password in both boxes.
  3. To limit printing and editing too, tick Enable Permissions to Limit Printing and Editing, type a different master password twice, choose a Printing level and untick what to deny.
  4. Choose OK.

    A notice says the security takes effect when you save.

  5. Save the document, or use Save As to keep an unprotected copy.

    The padlock shows the new state.

Opening a protected file asks for its password. Commands its security refuses are grayed, with the reason in their tooltips. Changing a limited file's security asks for the master password first; after three wrong tries the security stays as it was.

Remove security

Choose Document ▸ Remove Security. If the file has limits, type the master password when asked. The security goes when you save.

Before you rely on security

Keep the passwords safe: without them, MarkupRight can't open the file or lift its limits. Splitting a secured file, or extracting its pages, gives files with no security at all. Signed and certified files refuse security changes.

Redaction

Redaction removes content from a PDF for good: the text, images and graphics under each mark are deleted from the file, and a box is painted in their place. A black rectangle drawn over text is not redaction, because the text is still in the file underneath. Redaction works in two stages: you mark what to remove, and the marks stay editable markups until you apply them.

To mark content, use any of these:

The Redaction toolbar (Tools ▸ Toolbars ▸ Redaction) has the same commands plus Redaction Properties. Select a mark to set its properties in the Properties panel Alt+P:

PropertyWhat it does
ColorThe mark's outline before you apply it (red).
Redact ColorThe fill painted in its place afterwards (black).
Use Overlay TextPrints text in the box, REDACTED at first. Then Custom Text, Autosize Text, Repeat Text, Font Size and Text Color set it.
Redaction CodeChoose… a legal code from the U.S. FOIA or U.S. Privacy Act lists, such as (b)(6).

Edit ▸ PDF Content ▸ Apply Redactions asks which Pages to apply (All Pages, Current or Custom). Its Redaction Options, all off at first, also strip information from the whole document: Document Information and Metadata, Hidden Text, Hidden Layers, File Attachments, Bookmarks, Links, Actions and JavaScripts, Comments and Markups, Form Fields, and Private Data of Other Applications.

To redact text

  1. Choose Edit ▸ PDF Content ▸ Mark Text for Redaction and drag across the words, or mark search results.

    Each mark shows a red outline.

  2. Choose Edit ▸ PDF Content ▸ Apply Redactions.
  3. Choose the pages and any Redaction Options, then choose OK.

    A notice reads "Applied N redactions on M pages. Save the document to make them permanent." The text is gone, with boxes in its place.

  4. Choose File ▸ Save As… and save under a new name.
Redaction is permanent once you save

Until you save, Undo puts everything back. Saving rewrites the whole file, so earlier versions kept inside it go too, and the content can't be recovered from it. Use Save As so you still have the original. Redacted pages also can't have their flattened markups unflattened.

As a safeguard, if any text would still be readable under a mark, MarkupRight redacts nothing and names the pages. Redaction is refused on signed and certified files.

Digital IDs

A digital ID is what proves a signature is yours: a certificate with a private key, protected by a password. You can create one in MarkupRight, use one your organization issued (a .p12 or .pfx file), or, on Windows and macOS, use an ID already in the system's certificate store. Choose Tools ▸ Signature ▸ Digital IDs… to open Manage Digital IDs, which lists each ID's Name, Issuer, Expires date and Source.

To create a digital ID

  1. Choose Tools ▸ Signature ▸ Digital IDs…, then Add Digital ID…
  2. Choose Create Digital ID file.
  3. Fill in Name: and E-mail Address:, and if you like Organization:, Organizational Unit: and Country:.
  4. Type a Password: of at least 8 characters, twice, and choose OK.

    The ID joins the list as Self-signed, valid for five years.

Don't lose the password

An ID's password can't be recovered or reset, and the ID can't sign without it. An expired ID signs only if you tick "Sign with the expired ID anyway", and its signatures then validate as unknown.

Sign and certify

Signing seals the document as it is: anyone can check who signed it and whether it changed afterwards. Certifying is the author's signature: it also fixes which changes are allowed later, and it's possible only before anyone else signs.

To sign with a digital ID

  1. Choose Tools ▸ Signature ▸ Sign Document and drag a box where the signature should appear. Or, with the Select tool, click an empty signature field.

    The Sign dialog opens.

  2. Choose your Digital ID:, type its Password: and choose Log In.
  3. Type a Reason:, such as Reviewed, and choose OK.
  4. In the save dialog that follows, save under a new name.

    A notice reads "Signed and saved as…", and the signature appears in its box.

Signing always saves the document. If you cancel the save, nothing is signed. Edits you haven't saved are signed along with the rest. The Sign dialog's settings:

SettingWhat it does
Digital ID:The ID to sign with. New… creates one; View shows its certificate, with its SHA-256 fingerprint.
Document CertificationCertify as well, and choose the Permitted changes after certifying: No changes allowed; Fill in forms and digital signatures (the default); or Markups, fill in forms, and digital signatures. Grayed once the document has a signature.
Reason:, Location:, Contact Info:Stored in the signature and shown in the Signatures panel.
Appearance:How the visible signature looks. Edit… changes it.
Timestamp server:An http:// address of a timestamp service. Without one, the signature carries your computer's time. Timestamp required refuses to sign if the server doesn't answer; otherwise MarkupRight signs without the timestamp.
Embed revocation information (LTV)Stores the certificates' revocation status, so the signature can still be checked long after signing. Needs the network.

The Signature Appearance editor (Edit…, or Manage Appearances… in Manage Digital IDs) puts a Graphic on the left (None, your Name, or a PNG or JPEG File such as a scanned signature or seal) and the text items you tick on the right: Name, Date, Reason, Location, Distinguished Name and Labels.

To certify, choose Tools ▸ Signature ▸ Certify and Sign and drag a box, or Tools ▸ Signature ▸ Certify Document for a certification with no visible box. Both are grayed once the document has a signature.

Signature fields

A signature field is an empty box waiting for a signer. Prepare them when a drawing needs several signatures:

  1. Choose Tools ▸ Form ▸ Digital Signature.
  2. Drag one box for each signer, then press Esc.
  3. Each signer clicks their field with the Select tool to sign it.

Right-click a field and choose Signature Field Properties… to set its Name:, Tooltip:, whether the Field: shows and prints (Visible, Hidden, Visible but doesn't print, Hidden but printable), its Orientation:, Required and Lock, or to Delete Field. A Read-Only field can never be signed.

Add every field before the first signature

Once a document is signed, adding a field would change what was signed, so Add Signature Field is grayed. Later signers can still sign the empty fields.

The Signatures panel

When you open a signed file, MarkupRight offers to show its signatures:

The Signed Document prompt: signed.pdf is signed. Open the Signatures panel to see its signatures? With the buttons Open Signatures Panel and Not Now.
The prompt when a signed file opens. Not Now skips it; the panel is always on Alt+4.
signed.pdf with the Signatures panel on the left: Sign Document, Add Signature Field (grayed), Certify Document (grayed) and Validate Signatures, then the row Signed by QA Reviewer with an amber question mark. On the page, near the top right, the visible signature QA Reviewer with the small text Digitally signed by QA Reviewer and the date. 1 2 3
A file signed by an ID this computer doesn't trust yet: the signature is intact, but the signer is unknown.
  1. Panel buttons. Sign Document, Add Signature Field, Certify Document and Validate Signatures. Two are grayed because the file is already signed.
  2. A signature. Its state icon and signer. Click the arrow for the details.
  3. The visible signature. What the signer's appearance put on the page.

The panel lists certifications first, then signatures, then empty fields as "field (empty)". Expand a row to see the signer, issuer, date, reason, location, timestamp and whether LTV information is embedded, plus Changes since signing:. Right-click a row to Validate Signature, or to Clear Signature or Clear Certificate (your own only). Validate Signatures checks them all again. Each signature shows one of seven states:

IconStateWhat to do
Blue badgeThe document is certified, and the certification is valid.Nothing.
Green shieldThe signer's identity is trusted, and the document hasn't changed since it was signed.Nothing.
Green shield with a pencilThe signature is valid, but the document has been updated since it was signed.Expand the row to read the changes, such as markups or later signatures.
Amber question markThe signer's identity is unknown.Add the signer's certificate to Trusted Identities.
Amber question mark with a pencilThe signer's identity is unknown, and the document has been updated since it was signed.Trust the signer, then read the changes.
Gray question markThe signature hasn't been validated yet (rare).Choose Validate Signatures.
Red crossThe signature or certification is invalid: the document has been altered since it was signed.Don't rely on it. Ask the signer for a fresh copy.

Trusted Identities

An amber question mark means the signature is intact but nothing vouches for the signer yet. To trust a colleague, ask them to export their certificate (Export… in Manage Digital IDs) and send you the file.

To trust a colleague's signatures

  1. Choose Tools ▸ Signature ▸ Trusted Identities…
  2. Choose Add Trusted Identity… and open their certificate (.cer, .crt, .pem, .der or .p7b).

    They join the list, and the signatures in your open files are checked again.

  3. Choose Close.

    Their signatures show a green shield, or a green shield with a pencil if the file has changed since.

Remove takes an identity off the list. Below the list, a line says whether a widely used commercial root certificate is installed; signatures from IDs issued under that root validate only once it is, and your certificate authority can provide it.

What signed and certified files allow

Signatures protect what was signed, so some changes are refused afterwards. Refused commands are grayed, and their tooltips explain why.

FileMarkupsFill in formsSignPages, content, securityExtract and Split
SignedYesYesYesNoYes, but the new files carry no signatures
Certified: Markups, fill in forms, and digital signaturesYesYesYesNoNo
Certified: Fill in forms and digital signaturesNoYesYesNoNo
Certified: No changes allowedNoNoNoNoNo

The Preferences setting Tools ▸ Signature ▸ Restrict changes that invalidate digital signatures is on at first. Turn it off and markups are allowed on any certified document too; MarkupRight warns you when you do.

For power users Expert