You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Timo Boehme (JIRA)" <ji...@apache.org> on 2012/05/19 14:14:06 UTC

[jira] [Created] (PDFBOX-1316) NonSequentialPDFParser does not set security handler for access check

Timo Boehme created PDFBOX-1316:
-----------------------------------

             Summary: NonSequentialPDFParser does not set security handler for access check
                 Key: PDFBOX-1316
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1316
             Project: PDFBox
          Issue Type: Bug
          Components: Parsing
    Affects Versions: 1.6.0
            Reporter: Timo Boehme
            Assignee: Timo Boehme


While NonSequentialPDFParser uses SecurityHandler for decryption and also provides a method to get the handler it does not assign it to generated PDDocument thus classes without access to parser object cannot retrieve access permissions.

In this issue the necessary changes to NonSequentialPDFParser, PDDocument and tools using it will be collected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PDFBOX-1316) NonSequentialPDFParser does not set security handler for access check

Posted by "Timo Boehme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timo Boehme updated PDFBOX-1316:
--------------------------------

    Attachment: 2012-05-19_Extract_withAccessCheckForNonSeqParser.patch

changes in ExtractText, ExtractImage to check access permissions also when parsed via NonSequentialParser
                
> NonSequentialPDFParser does not set security handler for access check
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-1316
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1316
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 1.6.0
>            Reporter: Timo Boehme
>            Assignee: Timo Boehme
>         Attachments: 2012-05-19_Extract_withAccessCheckForNonSeqParser.patch, 2012-05-19_NonSeqParser_PDDocument_SecHandler.patch
>
>
> While NonSequentialPDFParser uses SecurityHandler for decryption and also provides a method to get the handler it does not assign it to generated PDDocument thus classes without access to parser object cannot retrieve access permissions.
> In this issue the necessary changes to NonSequentialPDFParser, PDDocument and tools using it will be collected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (PDFBOX-1316) NonSequentialPDFParser does not set security handler for access check

Posted by "Timo Boehme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timo Boehme closed PDFBOX-1316.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0

with rev. 1340444 the proposed patches are applied
                
> NonSequentialPDFParser does not set security handler for access check
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-1316
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1316
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 1.6.0
>            Reporter: Timo Boehme
>            Assignee: Timo Boehme
>             Fix For: 1.7.0
>
>         Attachments: 2012-05-19_Extract_withAccessCheckForNonSeqParser.patch, 2012-05-19_NonSeqParser_PDDocument_SecHandler.patch
>
>
> While NonSequentialPDFParser uses SecurityHandler for decryption and also provides a method to get the handler it does not assign it to generated PDDocument thus classes without access to parser object cannot retrieve access permissions.
> In this issue the necessary changes to NonSequentialPDFParser, PDDocument and tools using it will be collected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PDFBOX-1316) NonSequentialPDFParser does not set security handler for access check

Posted by "Timo Boehme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timo Boehme updated PDFBOX-1316:
--------------------------------

    Attachment: 2012-05-19_NonSeqParser_PDDocument_SecHandler.patch

changes to NonSequentialPDFParser and PDDocument to assign security handler to PDDocument on getPDDocument()
                
> NonSequentialPDFParser does not set security handler for access check
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-1316
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1316
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 1.6.0
>            Reporter: Timo Boehme
>            Assignee: Timo Boehme
>         Attachments: 2012-05-19_NonSeqParser_PDDocument_SecHandler.patch
>
>
> While NonSequentialPDFParser uses SecurityHandler for decryption and also provides a method to get the handler it does not assign it to generated PDDocument thus classes without access to parser object cannot retrieve access permissions.
> In this issue the necessary changes to NonSequentialPDFParser, PDDocument and tools using it will be collected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira