You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2014/12/01 13:54:13 UTC

[jira] [Commented] (TIKA-1489) PDF Text extraction without permission

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

Tim Allison commented on TIKA-1489:
-----------------------------------

Ah, ok, thank you, [~tilman]!

[~tilman], [~gagravarr] and the Tika community, would the following middle ground be acceptable:
1) set the default behavior of Tika to respect permissions
2) announce it loudly and clearly in the Changes.txt file for 1.7
3) allow users to choose Tika's legacy behavior via PDFParserConfig.

> PDF Text extraction without permission
> --------------------------------------
>
>                 Key: TIKA-1489
>                 URL: https://issues.apache.org/jira/browse/TIKA-1489
>             Project: Tika
>          Issue Type: Bug
>    Affects Versions: 1.7
>            Reporter: Tilman Hausherr
>
> In TIKA-1442 text extraction from files like 717226.pdf that don't have text extraction permission works. The permissions in PDF files are only enforced by the application (i.e. PDFBox), i.e. the text information isn't stored separately in encrypted form. 
> PDFBox ExtractText command line does throw an exception.
> So I wonder why TIKA is able to extract text. Either TIKA or the PDFBox call used bypasses the permission checking.



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