1

I am looking for an online application that can be locally hosted which will allow authorized users to view PDFs stored on a local file system, redact the areas in the PDF that contain sensitive information, and save the updated PDF back to the file system.

Since all of the PDFs were created from scanned documents (aka they are just images of documents) it's OK if the PDF is converted to an image, edited, and converted back to a PDF.

We cannot use any remotely hosted services, we must be able to set it up on our internal web servers (Windows/IIS or Apache or Linux/Apache). Prefer the app to be PHP, Perl, or Java (in that order).

As far as building our own. We know how to convert a PDF page into an image, display the image on a web page, and draw solid black rectangles (aka div elements) on top of the image (keeping track of the x,y coordinates). We are stuck on how to take those coordinates and actually modify the image file adding the solid black areas using the coordinates obtained. From there converting the image back to a PDF is a simple task.

If anyone has any suggestions for a pre-built app or for rolling our own I would greatly appreciate it.

  • Does this have to be a web application? Would free, cross platform applications do? – Steve Barnes Sep 4 '16 at 9:09
  • @SteveBarnes, we would prefer it to be a web application but are not opposed to open source desktop apps. – Drew Sep 6 '16 at 14:18
1

You can redact image pdf files using LibreOffice Draw:

  • Free, Gratis & Open Source
  • Cross Platform

If you have to have a web interface there are a number of projects looking at running LibreOffice in a web browser - possibly your best bet would be to take a look at Open365 which should allow you to host your own online LibreOffice from a docker image.

  • I like the idea of using Open365. I will give this route a go. – Drew Sep 6 '16 at 14:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.