Locklizard
  • Products
    • DRM software
      • Safeguard Lite PDF Security
      • Safeguard PDF Security
      • Safeguard Enterprise
      • DRM Software Features
        • Restrict PDF use
        • Watermark PDF
        • Expire PDF
        • Revoke PDF
        • Disable Print
        • Track PDF
    • Secure PDF Viewers
      • Viewer Overview
      • Viewer Demo
      • Web Viewer
      • USB Viewer
    • Add-ons
      • All Add-ons
      • Web Publisher
      • Safeguard Portable USB
      • Ecommerce API
      • Command Line
      • Own Branding
      • Custom Email
    • Free 10 day trial
    • Book a Demonstration
    • Purchase & Pricing
  • Solutions
    • Industry sectors
      • All Industries
      • Auctions
      • Engineering
      • Government
      • Healthcare
      • Libraries
      • Mergers & Acquisitions
      • Publishing Ebooks
      • Publishing Media
      • Publishing Standards
      • Membership Associations
      • Reports & Analysis
      • Tax Advisors
      • Training & Education
    • Vertical sectors
      • All Sectors
      • Board Documents
      • Internal Company Use
      • Large Publishers
      • Small Publishers
    • Business processes
      • Processes Overview
      • Secure Document Sharing
      • Sell Documents Securely
      • Document Retention
      • Prevent Document Leakage
      • Internal Document Control
      • Regulatory Compliance
      • Secure PDF Forms
      • Secure Data Rooms
      • Data Room Security
      • Application Integration
    • Business benefits
    • Regulatory compliance
      • Compliance Overview
      • NIST & DFAR Compliance
  • Downloads
    • Viewers
      • Windows Viewer
      • Mac Viewer
      • iOS Viewer
      • Android Viewer
    • Writers
    • Manuals
  • Support
    • Support
    • FAQs
    • Guides
    • Videos
    • White papers
  • About Us
    • Contact us
    • Partners
    • Our customers
      • Customer Overiew
      • Case Studies
      • Testimonials
    • Our technology
      • What is DRM?
    • Blog
    • Why Locklizard?
      • Competitors
      • PDF DRM protection
      • Password protect PDF
      • Product Awards
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu

Public Key vs Private Key Encryption vs Passwords for Document Protection

in Blog, Document Security, DRM, PDF Security

How does public and private key encryption compare to passwords for document security?

Password vs public key vs private key encryption: how each works, where they fail, and why document DRM is needed to stop leaks after opening.

When it comes to securing sensitive documents, terms like “password protection” and “encryption” are often used interchangeably. To some extent, this is valid—documents locked with an open password are usually encrypted under the hood, and some types of encryption rely on a single, really long key that acts similarly to a randomized password.

Treating them as the same thing, however, is a gross and dangerous simplification. In the real world, the precise implementation of the encryption is more important than whether it exists. We’ll break down the differences between passwords, public key, and private key encryption, covering:

  1. What is password protection for documents?
  2. What is private key encryption?
  3. What is public key encryption?
  4. Private key vs public key vs password encryption
  5. Why none of them are good enough for sensitive documents
  6. Which type of encryption should you use?
  7. What alternatives are there for document security?
  8. Why Locklizard Safeguard

 

   What is password protection for documents?

The idea of document password protection is to either restrict opening to authorized users and/or ensure that even authorized users cannot edit or otherwise modify the piece. These two types of controls use different passwords with different implementations.

   The open password

When an owner sets an open password, the contents of the documents are scrambled using an encryption key, with said password required to decrypt it into a readable form.

Rather than using the password directly as the encryption key, however, it’s fed through a process called a key derivation function, which runs the password through a one-way mathematical calculation (called a hash) thousands of times to form the key. When the user enters the password, this process runs in reverse, deriving the key from the password and ultimately decrypting the document.

The point of key derivation is to slow the process down enough that attackers can’t attempt millions of passwords per second in their attempts to guess it. However, using advanced methods, attackers can still try thousands, making document password security only truly secure if the owner chooses a long, random password. This is rarely the reality, with most users opting for memorability over security.

The other major limitation of document password security is sharing. Since each copy of the document typically has the same password, it only takes one user to intentionally or unintentionally leak their password for the security to fall apart. This is made even worse if the password is reused for multiple documents, which is often the case.

   The edit password

Edit passwords restrict core functions of the word processing application such as printing, editing, and copying to help prevent undesired changes and make document contents more challenging to share.

While you might expect edit passwords to have a similar implementation to open ones, this is far from the case. Edit passwords typically just set a flag inside the file that says “disable the editing and copying functionality”. The document viewer reads that flag and obliges, but it doesn’t have strong security to prevent tampering. Most word processors don’t encrypt document contents, which makes removing the security as simple as opening the document in a code editor and removing the flags. The few that do scramble contents typically do so with a key that’s stored inside the file itself and can be easily recovered to decrypt the content.

Aside from the above, because most document formats can be opened by a variety of viewer applications, security relies on everyone agreeing to respect those flags. In practice, this just doesn’t happen. Some developers either can’t be bothered to implement the controls or want to keep their word processor as lightweight as possible. Further, even when working, these controls rarely stop copy/paste and never prevent screenshots. This allows users to easily share content or create editable copies regardless.

 

   What is private key encryption?

Private key encryption (symmetric encryption) scrambles documents using a single, very long key. When the document reaches the recipient, they decrypt it using their version of that same key, making it viewable and editable again.

This method is more secure than passwords, which have a human element to contend with. It’s also fast and efficient, which makes it ideal for protecting large amounts of data or data that requires low latency.

However, symmetric encryption has three fatal flaws from a document security perspective:

  1. Distribution: You need a way of getting the key to the document recipients without anybody intercepting it, somebody leaking the key, or a recipient’s device being compromised. If an attacker gets hold of the key or it becomes public knowledge, the encryption is broken.
  2. Non-persistent encryption: Once a user decrypts the document, they get full access to the unprotected file to do with as they wish. They can share it with people who don’t have the key, upload it to cloud services which then get hacked, and so on.
  3. Lack of content controls: Private key encryption protects a document up until the point it’s decrypted and opened. It’s not designed to control what users do with documents, and does not prevent saving, copying, editing, sharing, and so on.

So, a private key is better than an open password. But it provides even less protection than an edit password, which at least makes a half-hearted attempt to enforce content controls.

 

   What is public key encryption?

Public key encryption, known as asymmetric encryption, uses private and public key pairs to encrypt documents. The sender encrypts a document using the recipient’s public key, but only their linked private key can unlock it. Thus, the distribution problem is mostly solved — while device compromise is still a concern, you don’t need to worry about a recipient intercepting a public key. All they’d be able to do is send the recipient encrypted files.

Public key encryption also enables digital signatures. You can sign the file with your private key and the recipient can verify it with your linked public key to ensure it’s you. This helps to cut down on attacks such as spear phishing.

You may have noticed, however, that while public key encryption solves the distribution problem we mentioned earlier, it doesn’t solve the other two issues. Public key encryption alone still doesn’t protect documents from being edited, saved, copied, or shared by legitimate users

 

   Private key vs public key vs password encryption

Password protectionPrivate key (symmetric)Public key (asymmetric)
How it worksA password is run through a key derivation function to produce the encryption keyOne shared key both encrypts and decrypts the documentThe recipient’s public key encrypts; only their private key decrypts
Security depends onThe user choosing a long, random password — rarely the caseKey length, and the single key never leakingKey length, and the private key staying on the recipient’s device
Guessing / brute force riskHigh — weak and reused passwords are commonNegligibleNegligible
Getting the key to recipientsMust be shared out of band; one leak breaks every copyMust reach recipients without interception; key sprawl at scaleLargely solved — public keys can be shared openly, though management adds overhead
Verifies sender identityNoNoYes — via digital signatures
Protects in transit and at restPartially — only as strong as the passwordYesYes
Controls use after opening
Editing, saving, copy & paste, printing, screenshots
Edit passwords attempt to, but are trivially bypassedNoNo
Ongoing control
Revoke, expire, device lock
NoNoNo
Audit trail of views and printsNoNoNo
Best suited toCasual, low-stakes files where “better than nothing” is enoughBulk encryption of files that stay on your own systemsProtecting files in transit and at rest between known parties

   Why none of them are good enough for sensitive documents

As you can see from the table above, none of these solutions convincingly address what happens after a recipient opens the document. That might be fine if you’re a regular consumer trying to keep your kids out of christmaslist.txt, but it’s a major problem for organizations that share sensitive data.

After decryption, nothing stops an authorized user from sending trade secrets to a competitor, saving it to a cloud account that gets hacked, printing it and losing it on the bus, or editing it in a way that damages your reputation. Worst of all, you can’t revoke access to the document once it’s out there, track where it went, or most of the time even prove who leaked it.

This obviously poses a threat to revenue, but it also becomes a compliance problem. Regulations like GDPR and HIPAA, as well as standards like ISO 27001 expect you to demonstrate ongoing confidentiality, with some requiring a clear audit trail and the ability to revoke access when it’s no longer necessary.

To summarize, for regulated industries, “we encrypted in transit/at rest” is no longer a good enough defense. Reasonable effort should be expended to prevent leaks of all kinds, including those that occur after the recipient opens the document.

   Which type of encryption should you use?

“It depends” is a cheap answer, but it’s true. When it comes to encryption, it’s less about what’s best and more about what your needs are.

Password encryption

Is only really really suitable if you’re trying to prevent family or friends from accessing your files. Its numerous flaws make it a poor fit in a serious environment, but a good choice if you just want “better than unencrypted”.

Private key encryption

Is useful if you want to mass-protect files that will stay on your hard drive, or need to protect content from snooping as it travels across the internet. It’s not recommended as the sole protection mechanism for sensitive information since a leaked key poses a major threat.

Public key encryption

Is a great tool for regular users and businesses to protect files in transit or at rest. However, key management can make using it at scale a hassle. Keys must be exchanged between sender and recipient in advance, which can slow down time-sensitive processes.

   What alternatives are there for document security?

Protection of documents in use is far from a new problem, but new challenges have certainly developed. Historically, organizations had more control over the environment; employees were fully on-site, with company-owned devices, on controlled networks. The modern enterprise does not work this way. Organizations must account for BYOD, remote workers, and collaboration with partners, contractors, and clients across untrusted networks.

As a result, solutions like traditional firewalls, access control lists, traditional rights management, and data loss prevention software are no longer effective alone. Businesses need a solution that works:

  1. Across a variety of networks, including home and public
  2. With a variety of devices with varying levels of admin control
  3. Regardless of where the document is stored
  4. Can revoke access whether the user has an internet connection or not

   Secure data rooms: Perfect solution or hoax?


As you’ll know, enterprises have primarily looked to the cloud to achieve these goals. If you host all your documents in the cloud, you don’t need to worry about the device, network, or internet connection, and you have some control over the environment. The browser can disable features such as editing, copy/paste, and printing, with full RBAC controls even possible in some apps.

Unfortunately, while it all sounds good on paper, secure data rooms and other cloud document services do not prevent leaks in practice. While the browser is great for many things, its limited control over a user’s system means it’s not a great choice for persistent document controls. Since giving random websites control over things like users’ clipboards and print drivers would be a nightmare, developers must use JavaScript to enforce printing and copying controls. The problem with JavaScript, however, is that it executes partly on the client side (the user’s device). This allows users to interfere with the code using their browser’s developer mode or use other bypasses.

Malicious users can:

  • Disable copy/paste controls by modifying the code, clicking and dragging highlighted text to another window, disabling dom.event.clipboardevents.enabled in Firefox’s about:config, or screenshotting the text and running it through OCR tools.
  • Screenshot any content, since outside of solutions such as Widevine with a hardware/OS component, the browser cannot prevent screenshots. While some data room solutions use screen overlays to show only part of the content, these are usually easy to bypass using developer tools or by simply taking a screenshot of the non-hidden content and stitching it together.
  • Print or print to PDF. Most data rooms and cloud document services look to prevent printing by disabling the print button in the app. However, users can often enable it again using developer mode or by using the browser’s own print function (using Ctrl +P). Of course, there are also situations where you want to allow users to print physical copies but not print to PDF — browser-based tools aren’t able to deliver this kind of granularity.
  • Extract images and videos via the network tab in developer mode. There are some ways to make this harder, such as splitting a single image into multiple files, but they can usually be bypassed using TamperMonkey scripts.
  • Save the page or access the local cache. Users can use the browser’s “Save Page As” to download the entire webpage content, or dig into their browser’s local cache to retrieve the files offline.

Ultimately, secure data rooms or secure deal rooms are marketing what they want their product to be rather than its reality. Any virtual data room promising “total control” is selling a fantasy.

   Where document DRM fits in

A document DRM solution such as Locklizard Safeguard does use public key technology, but in a very different way. The protection is attached to the document permanently; through every copy, device, and share, whether the user is authorized to view it or not.

The strongest document DRM implementations pair public key encryption, a secure viewer application, and a licensing system. The admin encrypts the document for selected single-use licenses, which are locked to recipient devices once they install them. As a result, the decryption key is never exposed to the user. Instead, the admin system reads the viewer license and securely transmits the key to decrypt the document content only in memory. There’s no unencrypted file for the user to share, and no temporary or cached files to recover the contents from. The key, meanwhile, is shared in an encrypted folder that’s inaccessible to the user or anybody they share it with.

This, however, is just one part of the equation. A good document protection solution must also control how users can interact with the file once it’s open, else they can edit and redistribute it or share it with others via copy-paste, printing, screenshots, and so on. Thankfully, using a secure desktop viewer application, this is very possible to achieve. Since the application has deeper control over a user’s system and only decrypts content in memory, it can reliably prevent screenshots, stop or limit printing, prevent copy-paste, and stop editing.

   Why Locklizard Safeguard

Locklizard Safeguard combines AES 256-bit encryption, transparent licensing, and a secure viewer application to protect documents across their entire lifecycle, including after they are opened. Controls embedded in the document file and enforced by the secure viewer allow publishers to:

  • Prevent screenshots, editing, saving, and copy-paste: Locklizard shuts down all reliable routes for recipients to share the document’s content, blocking screenshots from first- and third-party applications while ensuring text cannot be saved to the clipboard, and documents cannot be edited or saved.
  • Stop or limit printing: Since printed copies are a necessity for some use cases, Locklizard provides publishers with customizable print controls. You can disable printing entirely, allow users to print a specific number of copies, or enable printing only in black and white or grayscale.
  • Add dynamic, identifying watermarks: Documents can be stamped with the user’s name, email, and timestamp so that any analog photograph of the screen will be traced back to them. You can also apply image or moiré watermarks to prevent scanning.
  • Revoke access at any time, from anywhere: Remove access on a per-document or per-user basis with a few clicks in the Safeguard Admin portal. The next time the user tries to open the document, the license check will fail, causing all copies of the document to fail to decrypt regardless of whether they’re on-site, BYOD, or remote. Since the viewer leaves no way for the user to make additional copies (aside from allowed prints), there’s no time-consuming retrieval process.
  • Expire access in the future: Set “self-destruct” timers for a document or limit the time a user can access a document based on a specific date, number of days since first open, or number of views.
  • Log views and prints: With Locklizard, you can optionally log who viewed or printed a document, when, and where from. You get a clear audit trail to satisfy regulatory compliance.
  • Location and device locking: Lock document access to specific devices or IP address ranges. Make documents accessible only on your corporate network, audited user devices, and so on.

The breadth and persistence of controls is what separates DRM from the other options in this article. A password stops working the moment somebody shares it, a private key the moment it leaks, and public key encryption the moment someone opens the file. Safeguard provides strong, customizable controls embedded in the document itself, preventing sensitive leaks from both internal and external parties. Crucially, it does so without turning recipients into IT support cases. On their end, they install the viewer application, register their license, and open any document that they have authorization to view.

Start a 10-day free trial of Locklizard Safeguard DRM to test these features yourself, or book a demo to discuss how we can help secure your organization’s specific workflow and compliance needs.

Tags: DLP solution, DLP vs DRM, document security, drm, encryption, password encryption, pgp encryption, private key encryption, public key encryption
Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Reddit
  • Share by Mail

“Fantastic product… outstanding support.”

“We would recommend Locklizard to others”

“The clear leader for PDF DRM protection”

“Our ebook sales have gone through the roof”

“Simple & secure – protects IPR from theft”

Trusted by:

Protect IPR

See why thousands of companies use Locklizard to safeguard their documents and increase revenue streams.

  • Our Customers
  • Customer Testimonials
  • Customer Case Studies
  • Locklizard vs Competitors

Latest Posts

  • Public Key vs Private Key Encryption vs Passwords for Document ProtectionAugust 10, 2026 - 2:49 pm
  • Can PDF Files Have Viruses? What Your Organization Needs to KnowJuly 21, 2026 - 2:32 pm
  • What Is End-to-End Encryption, and Is It Enough for Documents?July 9, 2026 - 2:23 pm
  • Shadow AI: How Safe is ChatGPT for Confidential Information?July 1, 2026 - 2:58 pm
  • 256-bit Encryption Explained: What It Means for Your DocumentsJune 26, 2026 - 12:03 pm
PDF DRM Features
  • Protect PDF files
  • Stop PDF sharing
  • Stop PDF copying
  • Restrict PDF editing
  • Add PDF watermarks
  • Disable PDF printing
  • Stop screenshots
  • Expire PDF files
  • Revoke PDF files
  • Lock PDF to devices
  • Lock PDF to IP
  • Track PDF opens

How To Guides

How to stop sharing screen
How to expire download links
How to sell study notes
How to print to PDF
How to protect Autocad files
How to protect a document
How to unlock a protected PDF
How to expire Excel files
How to watermark in Excel
How to protect Excel files
Save a Google Doc as PDF
How to share a PDF online
How to insert PDF into Word
How to edit a protected PDF
How to convert ePub to PDF
How to prevent PDF download
How to share Google Docs
How to prevent PDF download
Enforce do not copy distribute
Share sell PDF in WordPress
How to remove a watermark
How to add security to PDF
Publish digital publications
How to share a PDF as a link
How to timestamp a PDF
Insert PDF into Google Doc
How to convert Word to PDF
How to convert PDF to Word
Share securely in SharePoint
How to encrypt email in Gmail
How to encrypt PDF files
How to recall unsend an email
How to watermark PowerPoint
How to lock a Word document
How to santize PDF files
How to lock a Google doc
Prevent PDF security removal
Protect Word without password
Add a dynamic watermark
Password protect Google Doc
Add a watermark in Word
Make a PDF non editable
How to create a stamped PDF
How to prevent ebook piracy
Password protect a Word doc
How to protect a PDF securely
How to revoke document access
Change PDF security settings
How to disable printing of PDFs
Sell online courses securely
How to add security to a PDF
Encrypt a PDF without Acrobat
Share documents securely
How to prevent PDF sharing
Protect confidential documents
How to publish ebooks securely
How to restrict PDF editing
How to password protect a PDF
How to protect ebooks
How to sell Reports securely
How to make a PDF read only
How to send a PDF securely
How to watermark a PDF
How to lock a PDF from editing
How to encrypt a PDF
How to make a PDF expire
How to password protect a PDF
How to protect online courses
How to email a PDF securely

Try Safeguard today

Start protecting your PDF files and documents from sharing & piracy

PRODUCTS

DRM Software
Safeguard Lite
Safeguard
Safeguard Enterprise

Add-ons

  • eCommerce API
  • Command Line
  • USB Protect
  • Web Publisher
  • Own Branding
  • Custom Email

Secure PDF Viewers

  • Web Viewer
  • USB Viewer

SECURITY FEATURES

Stop copying, editing, saving
Disable PDF Prints
Block Screenshots
Disable Copy Paste
Dynamic Watermarks
Expiry & Self Destruct
Revoke Documents
Device Locking
Location Locking
Track PDF Use

PRICING

Purchase & Pricing

RESOURCES

FAQs
Locklizard Blog
Knowledgebase
Security Guides
White Papers
Viewer Demo
Videos

DOWNLOADS

Secure Viewers

  • Windows
  • Mac OS X
  • iOS
  • Android

Writers
Product Manuals
FREE Trial

DOCUMENT SECURITY

Share Documents Securely
Protect Online Courses
Stop Ebook Piracy
Document Encryption
Secure PDF Distribution
Protect Confidential Documents
Ebook DRM

Protect PDF Files

  • PDF Copy Protection
  • Lock PDF files
  • Encrypt PDF
  • Secure PDF
  • PDF DRM

INDUSTRY SECTORS

Training & Elearning
Publishing Ebooks
Publishing Standards
Online Libraries
Membership Associations
Engineering
Government
Healthcare
Mergers & Acquisitions
Secure Reports From Theft

  ABOUT US

About Us
Partners

Our DRM Technology

  • What is DRM?

Customers

  • Case Studies
  • Testimonials

Locklizard vs Competitors

  • Secure Data Rooms

Company Brochure

  CONTACT

sales@locklizard.com
support@locklizard.com

Business Hours:
US: 8AM to 17.00PM EST
UK: 9AM to 17.30PM GMT

© Copyright 2004-2026 Locklizard Limited. All rights reserved.Privacy Policy|GDPR Policy|Cookie Policy|SITE MAP

Link to: Can PDF Files Have Viruses? What Your Organization Needs to Know Link to: Can PDF Files Have Viruses? What Your Organization Needs to Know Can PDF Files Have Viruses? What Your Organization Needs to Know
Scroll to top Scroll to top Scroll to top