[
https://issues.apache.org/jira/browse/PDFBOX-2701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14353228#comment-14353228
]
Tilman Hausherr commented on PDFBOX-2701:
-----------------------------------------
Your file is encrypted. Some documents have an empty user password, but a
non-empty owner password. You can open such a file, but there will be
restrictions, e.g. no printing or no text extraction. To be sure, open the PDF
file with NOTEPAD++, and search for "/Encrypt". If you find it, then the file
is encrypted.
Having said this, your question is rather a "howto question", which doesn't
belong here. Please ask further questions about this (you didn't tell what you
wanted to do) in the user mailing list:
https://mail-archives.apache.org/mod_mbox/pdfbox-users/
> I am facing problem in isEncrypted() method .
> ---------------------------------------------
>
> Key: PDFBOX-2701
> URL: https://issues.apache.org/jira/browse/PDFBOX-2701
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.8.8
> Environment: java -version
> java version "1.6.0_27"
> Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode)
> Reporter: sathish kumar s
>
> I am using isEncrypted() method, This
> file(https://www.dropbox.com/s/ukjx3mcpkuaui2i/sample.pdf?dl=0) not a
> password protected file. but saying this file is password protected. i don't
> know how to fix it.??
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]