• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 120
  • Last Modified:

Easy way to update a PDF?

I hope to allow merchants to upload a merchant statement for a particular type of analysis. But I do not want to be the recipient of confidential data, when possible.

Is there an easy way for people to blank out certain fields on a PDF? Things like Business Name, Address, Account Number, etc.

I can do this easily Adobe Acrobat Pro, but would rather not force users to purchase a license just to remove their private info. Is there a simple way, with Adobe Reader, for example, to edit out certain key data?

If not, are there other tools they could use to open the PDF and delete certain fields?

Is it unwise for my site to suggest they use a trial version of Adobe Acrobat Pro and provide them the URL to this free trial?

2 Solutions
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Simple way, if the documents are always of the same format.

Use a libreoffice --headless command to populate specific fields with "X" characters.

This would occur after the document has already been uploaded.

There's no reliable way to do this on your client's end, as this would mean you'd require every client to... follow instructions... which is similar to herding cats...

You'll never know for sure what they've uploaded, until after the upload + you process each document file.
newbiewebSr. Software EngineerAuthor Commented:
what does this command do, exactly? Must I select the fields to get X's?

I agree, people would tend to not follow instructions and then, not upload their statement for analysis.
it depends on how far you want to go? you could use PHP/perl to redisplay the PDF data as a form and have the person mark what the "confidential" item is. at which point the resulting pdf with those items stripped will be saved, though the upload as David pointed out will take place.
or you
not sure PDF is an optimal choice.
Much depends on the source of the data, a CSV/excel type data might be better.....

unless you provide the user with an application that will run on their system will scrub the data and perform the upload.......
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

newbiewebSr. Software EngineerAuthor Commented:
I think u may be stuck with PDF since that is the format from the banks. But I love your scrub feature idea!

I could allow a PDF upload, but not store the file on disk.

Instead, present the data to them and give them the option to delete fields. When they save it, I preserve their data on disk in some format.

I guess the PDF never needs to be saved. I merely need a tool to extract the data from the PDF and use whichever web technology I settle on to enable them edit functionality.

Can I extract the contents of a PDF using Angular?
I am unfamiliar with angular.
newbiewebSr. Software EngineerAuthor Commented:
Maggie JYCommented:
112.jpg I am not sure redaction of PDF tools is your choice.  The process can remove or hide certain portions of information in a piece of document since you will protect your PDF from unauthorized person. There is a full guide on how to batch redaction PDFs.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now