I get an error message when trying to view encrypted PDF files in a web browser

I get an 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  Edge is the default PDF reader app and handles PDF associations. 
  2. You might also want to stop Edge from being your default PDF viewer in order to switch to an external application like Adobe Reader more permanently.

To stop Microsoft Edge from being the default PDF viewer app




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 file in 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

    • 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 recognise encrypted files and folders

      SmartEncrypt encrypts files automatically wherever there is an Encryption Rule in place.  This means that any file added to, edited or created in a location governed by an Encryption Rule will be encrypted on-the-fly.  Recognising encrypted files ...
    • Sharing files with non-SmartEncrypt users with Protect and Share

      SmartEncrypt "Protect and Share" enables you to securely share sensitive files with recipients outside your organisation. Once a PIN is defined, files are encrypted and converted to an HTML file protected by the PIN. Recipients are able to then ...
    • Office365 Search fails to return encrypted files in search results

      Files encrypted by SmartEncrypt are encoded (scrambled) and as such, Office365 Search is unable to read the files to allow users to search for a file by its contents. In order to optimise search for encrypted files, we recommend that you configure ...