Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the author from uploaded PDF?

I have clients uploading PDF's via a form. I would like to have the upload clear the properties of the PDF, so that future users will see no trace of the author.

To be more specific, the properties are those one see when the PDF is downloaded, right click, and select "properties". You can then view the PDF properties, such as title, author, subject, and keywords. I haven't found a way to access these within Google Docs, but they are regularly used by e-readers to identify the PDFs. I would like to replace or clear these fields.

UPDATE: Almost 4 years later, and I still need a solution for this. Offering a bounty. I would welcome any work-arounds or other tricks to remove the author name. Perhaps it is not editing the properties directly, but messing with a blob or something. (Note: Text formatting in the PDF must be preserved.)

like image 342
MartinK Avatar asked Oct 02 '12 15:10

MartinK


1 Answers

There are no such options Google Apps Script or Google Docs/Drive API. You may file a feature request here.

like image 155
Waqar Ahmad Avatar answered Sep 22 '22 04:09

Waqar Ahmad