Attach (recommended) or Link to PDF file here:

Configuration:
- Web browser and its version: Firefox 95.0
- Operating system and its version: Windows 10
- PDF.js version: Whatever is shipped with Firefox 95.0
- Is a browser extension:

Steps to reproduce the problem:
1. Open file in Adobe Acrobat and get message that file is protected. Cannot change anything without password
2. Open file in Firefox 95.0. Allows free editing of form fields and on top the file can be saved.
3. Open the saved file from Firefox with Adobe Acrobat and you still get the password protected message but the values are changed!

Testfile
[testfile.pdf](https://github.com/mozilla/pdf.js/files/7692008/testfile.pdf)

What went wrong?
Firefox allows editing of protected PDF files!!!


if (typeof PDFJSDev === "undefined" || PDFJSDev.test("GENERIC")) {
    if (file) {
      PDFViewerApplication.open(file);
    } else {
      PDFViewerApplication._hideViewBookmark();
    }
  } else if (PDFJSDev.test("MOZCENTRAL || CHROME")) {
    PDFViewerApplication.setTitleUsingUrl(file,  file);
    PDFViewerApplication.initPassiveLoading();
  } else {
    if (file) {
      throw new Error("Not implemented: webViewerOpenFileViaURL");
    } else {
      PDFViewerApplication._hideViewBookmark();
    }
  }
}
function webViewerResetPermissions() {
  const { appConfig } = PDFViewerApplication;
  if (!appConfig) {
    return;
  }
  
  appConfig.viewerContainer.classList.remove(ENABLE_PERMISSIONS_CLASS);
}
function webViewerPageRendered({ pageNumber, error }) {