Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3341

currentAccessPermission.setReadOnly() not set in StandardSecurityHandler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.12, 1.8.13, 2.0.1, 2.0.2, 3.0.0 PDFBox
    • 1.8.13, 2.0.2, 3.0.0 PDFBox
    • Crypto
    • None

    Description

      Reported by Joe Ye in the mailing list

      While troubleshooting an encryption related issue, I discovered that
      currentAccessPermission.setReadOnly() is called in method
      pdfbox.pdmodel.encryption.PublicKeySecurityHandler#prepareForDecryption but
      NOT in
      pdfbox.pdmodel.encryption.StandardSecurityHandler#prepareForDecryption.
      Could you please explain why there is the difference? As we're using
      StandardSecurityHandler, it appears ReadOnly is never set..

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: