Error message when trying to view encrypted PDF files in a web browser

Error message when trying to view encrypted PDF files in a web browser

Even if you have the correct encryption key, it is not possible to use web browsers such as Google Chrome and Microsoft Edge to view encrypted files. This is because the built-in PDF viewer in web browsers are not able to view protected PDF files.

The way around this is to download the file and configure your browser to open PDF files with different PDF viewer software, such as Adobe Acrobat Reader.  

Microsoft Edge

When trying to open an encrypted PDF file with the Microsoft Edge PDF reader, you will likely encounter an error similar to that shown below.



Good to know... 
  1. In Windows 10,  Microsoft Edge is the default PDF reader app and handles PDF associations. 
  2. You might also want to stop Microsoft Edge from being your default PDF viewer in order to switch to an external application like Adobe Reader more permanently.

To disable Microsoft Edge from being the default PDF viewer app:

  1. Open Settings.
  2. Click on Apps.
  3. Click on Default apps.
  4. Click the Choose default app by file type option as shown.


  5. Click the current default app for the .pdf file format and select the app you want to make the new default.


Good to know... 
  1. You can also change the default app to open PDF documents by using the:
    1. Set default by app option in settings, or
    2. Choose another app option from the Windows File Explorer context menu.

Google Chrome

When trying to open an encrypted PDF file in Google Chrome with the built-in Chrome PDF viewer, you will encounter a "Failed to load PDF document" error as shown.



The easiest way to do configure Google Chrome to use an alternative PDF viewer is as follows.
After downloading the PDF document:
  1. Click on the arrow next to the file in the download bar to get additional options
  2. Select "Always open with system viewer"


PDF files will now open immediately after downloading in the PDF viewer software you have installed.


    • Related Articles

    • Encryption Permission Error when trying to encrypt certain locations

      If you try to encrypt files or folders in some locations, you may encounter the following error: This occurs when the user does not have permission to encrypt files for the given location because: there is an existing encryption rule active for the ...
    • Working with encrypted files in Microsoft Office Web Apps

      Microsoft Office 365 web apps (Word, Excel, PowerPoint, Teams, etc.) are not supported by SmartEncrypt. When you open an encrypted office file with an Office web app, you will receive a warning that the app is unable to open the document. To overcome ...
    • Working with encrypted files in SharePoint and Teams

      Because SharePoint is is a web-based document management system, SmartEncrypt can't communicate directly with files stored SharePoint.  SharePoint uses a different form of communication for file operations to that of file operations on a local ...
    • How to send log files to SmartEncrypt Support

      Log files capture all internal events while SmartEncrypt is running. Technical support may ask you to send log files to help us troubleshoot issues such as unexpected behaviour, bugs and incompatibilities with other software. The SmartEncrypt clients ...
    • SmartEncrypt Service Error when launching SmartEncrypt

      I received a SmartEncrypt Service Error when launching SmartEncrypt If you have recently installed or upgraded SmartEncrypt without restarting your device, you will likely receive the following error when you try to start the software. This occurs ...