The Complete Guide to PDF Security: Passwords, Watermarks, and Permissions
PDF was designed to be a final-form document — a way to distribute content that looks the same everywhere and cannot be easily edited. What it was not designed to be is secure by default. A standard PDF file is completely open: anyone who receives it can read, copy, print, and forward it without restriction.
For documents that contain sensitive information — contracts, financial statements, confidential reports, personal data — this default openness is a problem. PDF has built-in security mechanisms that most people never use. This guide covers what those mechanisms actually do, when to use them, and how to apply them without uploading your documents to a third-party server.
How PDF security works
PDF security operates at two levels that are often confused.
Encryption controls whether the file can be opened at all. An encrypted PDF requires a password to decrypt the contents. Without the correct password, the file appears as unreadable binary data. This is controlled by what the PDF specification calls the “user password” — the password required to open the document.
Permissions control what an authorized user can do with an open document. Even after someone has opened a PDF, permissions can restrict printing, copying text, modifying content, adding annotations, and filling forms. Permissions are enforced by what the specification calls the “owner password” — a second password that, if set, is required to change the document’s restrictions.
These two mechanisms are independent. You can have a PDF that is open to anyone but restricts printing. You can have a PDF that requires a password to open but then permits all operations. Or you can combine both: require a password to open and restrict what authenticated users can do.
User password vs owner password
User password (also called the open password): Required to open the document. If you send someone a PDF protected with a user password, they need that password to see any content. Without it, they cannot open the file at all. This is what most people think of when they hear “password protect a PDF.”
Owner password (also called the permissions password): Controls the document’s restriction settings. If you set permissions without a user password — restricting printing, for example — the PDF opens normally for anyone, but compliant PDF readers will enforce those restrictions. If someone also wants to change or remove those restrictions, they need the owner password.
In practice:
- For confidentiality (you only want specific people to open it): set a user password
- For rights management (the document is distributable but you want to limit copying/printing): set an owner password with restrictions, no user password
- For maximum control: set both
What PDF permissions actually restrict
The PDF specification defines these permission flags:
Printing — whether the document can be printed at all, and at what resolution (low-resolution or high-resolution).
Modifying content — whether the document’s content can be altered. This includes moving, deleting, or modifying text and graphics.
Copying text and graphics — whether text and images can be selected and copied to the clipboard.
Adding annotations and form fields — whether new annotations (comments, highlights, sticky notes) can be added.
Filling in form fields — whether existing form fields can be filled in, independent of the general modification restriction.
Content accessibility — whether screen readers and accessibility tools can access the document content.
Document assembly — whether pages can be inserted, deleted, or rotated.
An important caveat: PDF permissions are enforced by compliant PDF readers, not by the PDF format itself at a technical level. Tools specifically designed to bypass PDF restrictions can do so. Permissions are effective against casual copying and printing, not against determined adversaries with technical knowledge.
When to use password protection
Contracts and legal agreements sent by email: protecting with a password and sharing the password through a separate channel (phone, message app) adds a meaningful layer of security. If the email is intercepted, the PDF is unreadable without the password.
Financial documents — tax returns, bank statements, investment statements — sent to accountants, advisors, or family members. Password protection prevents the document from being opened if it ends up in the wrong inbox.
HR documents — offer letters, salary information, performance reviews — sent to employees or between HR teams. Even inside an organization, restricting access to these files to the intended recipient is good practice.
Confidential reports distributed to a defined group: setting a user password known only to those authorized to read the report prevents unauthorized access if the file is forwarded or shared accidentally.
Intellectual property — business plans, research, product specifications — where you want to share with a specific party but limit redistribution.
When to use watermarks
Watermarks serve a different purpose than passwords. They do not prevent access — they identify the document and discourage misuse.
Draft documents shared for review: a DRAFT watermark on every page makes it clear the document is not final and should not be distributed or acted upon.
CONFIDENTIAL marking on sensitive documents: even if the document is shared with authorized parties, watermarking it with CONFIDENTIAL creates a visual reminder and a record that recipients were aware of the document’s status.
Client-specific copies: watermarking each copy of a document with the recipient’s name or company creates a way to trace the source if a document is leaked. This is called a canary trap in security contexts.
Copyright protection for content: for photographers, designers, and content creators who need to share preview versions of work, watermarking establishes ownership before payment.
Page numbering with document identifier: combining page numbers with a document reference number or date creates an audit trail.
How to protect a PDF in your browser
TinyTransform’s PDF Password Protect tool handles encryption entirely in your browser using pdf-lib, an open-source JavaScript library that implements the PDF specification.
The process: your PDF is loaded into browser memory, pdf-lib applies AES encryption with your specified passwords and permission settings, and the encrypted PDF is downloaded to your device. No server receives your document at any point.
To add password protection:
- Open the PDF Password Protect tool
- Drop your PDF onto the drop zone
- Enter a user password (required to open the document)
- Optionally enter an owner password (required to change permissions)
- Set permission toggles: allow/restrict printing, copying, editing
- Click Protect PDF
- Download the protected file
To add a watermark:
- Open the PDF Watermark tool
- Drop your PDF
- Enter your watermark text (or upload a watermark image)
- Set opacity, position, and rotation
- Choose which pages to watermark
- Download the watermarked PDF
Choosing a strong password for PDF encryption
PDF AES-256 encryption is cryptographically strong — a well-chosen password makes the document practically impossible to brute-force with current computing power. A poorly chosen password does not.
Weak passwords that attackers try first: common words, names, dates, keyboard patterns (123456, qwerty), the word “password,” the document title.
Strong password characteristics: at least 12 characters, mix of uppercase, lowercase, numbers, and symbols, no dictionary words, not related to the document content or recipient.
For documents you need to share with others: use a passphrase — three to five random words strung together. “correct-battery-horse-staple” is easier to communicate verbally than “Xk#9mP2$wQ” and more resistant to dictionary attacks.
Communicate passwords through a different channel than the document itself. If you email the protected PDF, send the password via text message or phone call.
Removing password protection
If you have a PDF you own and need to remove its password protection, TinyTransform’s tools can process password-protected PDFs — you enter the current password to load the file, then save without protection.
Note: removing password protection from a PDF you do not own, to bypass access controls, is illegal in most jurisdictions under computer fraud and copyright laws regardless of your intentions.
The limits of browser-based PDF security
Browser-based PDF protection using pdf-lib applies AES-128 or AES-256 encryption that compliant PDF readers enforce. This covers the vast majority of legitimate use cases.
For documents requiring certified signatures, long-term validation (LTV), or PAdES-compliant signing — typically for legal, government, or regulated industry purposes — professional tools like Adobe Acrobat or dedicated signing platforms are more appropriate.
For the everyday use cases most people encounter — sharing sensitive documents securely, marking drafts and confidential materials, restricting casual copying and printing — browser-based protection works correctly and adds the privacy benefit that your document never leaves your device during the protection process.