Password-protected PDF cannot be opened when New PDF Viewer flag is enabled in Microsoft Edge

90694349 20 Reputation points
2025-11-25T05:43:00.0733333+00:00

When I enable the New PDF Viewer feature flag in Microsoft Edge, a password-protected PDF fails to open. The password prompt appears, but after entering the correct password it just prompts again. The same PDF opens correctly in:

  • Microsoft Edge (when the flag is disabled)
  • Other browsers
  • Adobe Acrobat Reader

Please advise whether this appears to be a browser regression or a file-specific issue, and if there is a workaround besides disabling the flag.

Edge version: 142.0.3595.94 (64-bit)

password_is_password.pdf

Microsoft Edge | Read PDFs | Windows 11
0 comments No comments

Answer accepted by question author
Alexandr S 106.9K Reputation points Independent Advisor
2025-11-26T06:22:40.7133333+00:00

Then the only conclusion is that something is wrong with the PDF file itself password_is_password.pdf

Most likely, either the password is not "password", or the internal structure of the file is broken.

Was this answer helpful?


5 additional answers

Sort by: Most helpful
  1. Philip Veale 0 Reputation points
    2026-11-03T09:59:32.5+00:00

    The Maximum length of the Password that is being used for Encryption is 32 characters. If you supply to the scheme a password longer than 32 characters, anything beyond 32 is just discarded.

    When Adobe Reader asks for your Password to decode the file, it reads the input, discards anything beyond 32 characters, and decodes it using that.

    With Edge, if you enter a Password longer than 32 characters it attempts to use the full string, which fails. If you manually truncate the password in the Edge Password box to 32 characters - IT WORKS. Edge can open the file.

    The fix should probably be that Edge truncates user input to 32 characters before attempting the decode.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.