Neseek77 / openmeetings

Automatically exported from code.google.com/p/openmeetings
1 stars 0 forks source link

check encrypted PDFs #1456

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The iText JAR has currently only one reference.
It checks in the UploadHandler if the PDF is encrypted.

The UploadHandler class is not even in use currently.
FileUploadHandler is the upload servlet for the new File Explorer.

I am not sure if encrypted PDFs are currently workign with FileUploadHandler.

One should check if encrypted PDFs work and/or if we need the iText JAR for 
that check.

There are two strategies for making sure that a PDF is encrypted:
1) run a conversion with ImageMagick / Ghostscript on ALL uploaded PDFs, 
convertingthe PDF into another PDF. ImageMagick/Ghostscript will then create a 
non encrypted one.
2) Check by iText and only convert those that are really encrypted into a 
non-encrypted.

However I am not sure if we did implemente 1 or 2 (cause I don't remember if 
iText correctly detects encrypted PDFs)

Original issue reported on code.google.com by seba.wag...@gmail.com on 22 Aug 2011 at 7:23

GoogleCodeExporter commented 9 years ago

Original comment by seba.wag...@gmail.com on 31 Jan 2012 at 12:22

GoogleCodeExporter commented 9 years ago
OpenMeetings moves to Apache Foundation, update your bookmarks to the new 
project page:

http://incubator.apache.org/openmeetings/

New Issue tracker is located: https://issues.apache.org/jira/browse/OPENMEETINGS

New Mailing Lists located at: 
http://incubator.apache.org/openmeetings/mail-lists.html 

Original comment by seba.wag...@gmail.com on 31 Jan 2012 at 12:25