You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/05/05 21:44:12 UTC
[jira] [Commented] (PDFBOX-3341)
currentAccessPermission.setReadOnly() not set in StandardSecurityHandler
[ https://issues.apache.org/jira/browse/PDFBOX-3341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15273149#comment-15273149 ]
ASF subversion and git services commented on PDFBOX-3341:
---------------------------------------------------------
Commit 1742475 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1742475 ]
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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org