You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2015/03/09 18:27:38 UTC
[jira] [Commented] (PDFBOX-2701) I am facing problem in
isEncrypted() method .
[ 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org