[
https://issues.apache.org/jira/browse/PDFBOX-4048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16306931#comment-16306931
]
Tilman Hausherr commented on PDFBOX-4048:
-----------------------------------------
I traced StandardSecurityHandler and it is the owner password. I then made a
small change to call {{isUserPassword()}} first and the result is true. So the
password is *both* the user and the owner password.
> isOwnerPermission() true despite having used user password
> ----------------------------------------------------------
>
> Key: PDFBOX-4048
> URL: https://issues.apache.org/jira/browse/PDFBOX-4048
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.8
> Reporter: Tilman Hausherr
> Attachments: PDFBOX-4048.pdf
>
>
> For the attached file, {{isOwnerPermission()}} is true despite that the
> password is the user password (according to the user). This was a SO issue (
> https://stackoverflow.com/questions/48035060/pdf-in-mac-preview-shows-its-only-readable-but-pdfbox-says-editable
> ) but it has been removed since then.
> {{getPermissionBytes()}} returns FFFFFFFC but when looking at the file with
> PDFDebugger bits 4 and 6 are false.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]