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

Peter Bowyer commented on TIKA-1494:
------------------------------------

I have tested with the latest trunk and it works well.

However, if I don't pass a password header, I am now able to extract meta data 
and content from my encrypted PDFs without supplying a password. This only 
happens via the JAXRS server and not via tika-app.jar. I haven't found my user 
error yet (TIKA_PASSWORD wasn't set, and I set it to a random value to make 
sure), so reporting.

> JAXRS server: allow passing PDF password in the request
> -------------------------------------------------------
>
>                 Key: TIKA-1494
>                 URL: https://issues.apache.org/jira/browse/TIKA-1494
>             Project: Tika
>          Issue Type: New Feature
>          Components: server
>            Reporter: Peter Bowyer
>              Labels: encryption, pdf, server
>             Fix For: 1.7
>
>
> I have to extract content from encrypted PDFs. Setting the PDF password using 
> the TIKA_PASSWORD environment variable works, however it only allows for one 
> PDF password.
> It would be very useful to be able to pass the password in during the HTTP 
> request - as a header or by some other means. This way I can run a central 
> JAXRS server and extract content from all PDFs, rather than a separate server 
> for each department/group that has its own password.



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

Reply via email to