# PDF viewer - issue with protected files

**URL:** <https://forum.inductiveautomation.com/t/pdf-viewer-issue-with-protected-files/100666>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [January 9, 2025, 4:06pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-issue-with-protected-files/100666 "2025-01-09T16:06:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![e.cutino](https://avatars.discourse-cdn.com/v4/letter/e/e5b9ba/32.png) [@e.cutino](https://forum.inductiveautomation.com/u/e.cutino)\
**Post date:** [January 9, 2025, 4:06pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-issue-with-protected-files/100666/1 "2025-01-09T16:06:15Z")

</div>

I'm in trouble with PDF viewer Vision component, accessing PDF files protected and encrypted.

The viewer is prompting for a password, however is not opening the file with a message saying that in the ICE viewer configuration (which and how?) is missing the security profile.

The .pdf files are opened with any other pdf viewer, like Acrobat reader.

 ![Screenshot 2025-01-09 alle 17.50.38](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/a/aa4216c305329d4db89506b630b9a0deb95dd31c.png)

I tried also to change the encryption to 40 bits and 128 bits too (from 256 bits). In such cases the file is opened, indeed it is corrupted and not readable (again, the files are perfectly readable with other pdf viewer/Acrobat).

We are running in trouble with the client in the Pharma industry, where files must be protected as per above.

Any idea/help?

ADD-ON: I generated the file with "system.report.executeAndDistribute" without ANY further encryption/modification and in the PDF viewer I see as in the attached screenshot. The same file is readable with Acrobat. It seems a problem with fonts/chars

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [February 20, 2025, 6:07am UTC](https://forum.inductiveautomation.com/t/pdf-viewer-issue-with-protected-files/100666/2 "2025-02-20T06:07:14Z")

</div>

Has this been discussed with [Inductive Automation support](https://support.inductiveautomation.com/hc/en-us)?

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [February 20, 2025, 2:43pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-issue-with-protected-files/100666/3 "2025-02-20T14:43:27Z")

</div>

Are you using any non-default fonts to generate these files? I think I typically stick with default fonts, but you might try genenating a dummy report with default fonts and see if it works.

---

<div class="post-metadata">

**Author:** ![e.cutino](https://avatars.discourse-cdn.com/v4/letter/e/e5b9ba/32.png) [@e.cutino](https://forum.inductiveautomation.com/u/e.cutino)\
**Post date:** [March 16, 2025, 10:28am UTC](https://forum.inductiveautomation.com/t/pdf-viewer-issue-with-protected-files/100666/4 "2025-03-16T10:28:05Z")

</div>

Sorry for (very) late reply. So busy!

The issues were 2:

1. the viewer is not able to manage the 256bits encryption, at least with the encrytion program I used -\> sorted out using a 128bits encryption, not optimal and not so immediate to understand (humble suggestion: it would be great to add to manual page, if confirmed not depending on encryption program)

2. fonts: I discovered/understood some fonts are running in trouble -\> sorted out changing fonts. Same suggestion as above
