[ 
https://issues.apache.org/jira/browse/PDFBOX-3341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15273161#comment-15273161
 ] 

ASF subversion and git services commented on PDFBOX-3341:
---------------------------------------------------------

Commit 1742479 from [~tilman] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1742479 ]

PDFBOX-3341: set access permissions to read only when not owner

> currentAccessPermission.setReadOnly() not set in StandardSecurityHandler
> ------------------------------------------------------------------------
>
>                 Key: PDFBOX-3341
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3341
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Crypto
>    Affects Versions: 2.0.1, 2.0.2, 2.1.0
>            Reporter: Tilman Hausherr
>
> Reported by Joe Ye in the mailing list
> {quote}
> 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..
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to