Do you have a tool to remove JavaScript code or remove any risk or danger of virus from PDF files?

We need a Command Line tool to remove JavaScript code from PDF files. Do you have a software to remove the JavaScript from PDF files?

This will be install on a Windows 10 for test, Windows Server 2012R2 for production do you support both version?

The option of removing JavaScript will it remove any other danger like macros or active content if those exist in a PDF file?

Customer
-----------------------------------------

image
VeryPDF has an Advanced PDF Tools Command Line software, you can use this Advanced PDF Tools Command Line software to remove the JavaScript from PDF files.

>>This will be install on a Windows 10 for test, Windows Server 2012R2 for production do you support both version.

Yes, our product does support both systems.

>>The option of removing JavaScript will it remove any other danger like macros or active content if those exist in a PDF file.

Yes, Advanced PDF Tools Command Line will remove JavaScript and any other dangers from PDF files.

image

btw, you may also download PDF to PDF/A Converter Command Line from this web page to try, PDF/A is an archive format which doesn't contain JavaScript and Active Contents, so PDF/A format will reach your requirements too.

The constraints for PDF/A-1, PDF/A-2, and PDF/A-3 include:

  • Audio and video content are forbidden. 3D artwork is also forbidden.
  • JavaScript and executable file launches are prohibited.
  • All fonts must be embedded and also must be legally embeddable for unlimited, universal rendering.
  • Colorspaces must be specified in a device-independent manner.
  • Encryption is disallowed.
  • Use of standards-based metadata is mandated.

You may also download PDF to PDF/A Converter Command Line from this web page to try,

https://www.verydoc.com/pdf-to-pdfa.html
http://www.verydoc.com/pdf2pdfa_cmd.zip

https://www.verydoc.com/blog/verydoc-releases-new-version-of-pdf-to-pdfa-converter-command-line-product-today.html

You can use "-mode 2" parameter, this parameter will analyze all objects in PDF file, it will check and repair all objects in PDF file and arrange them to comply with the PDF/A compliance, this parameter is great to process various kinds of PDF files over the world, you can use this parameter like below,

pdf2pdfa.exe -mode 2 "sample1.pdf" "_sample1-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample2.pdf" "_sample2-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample3.pdf" "_sample3-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample4.pdf" "_sample4-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample5.pdf" "_sample5-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample6.pdf" "_sample6-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample7.pdf" "_sample7-pdfa.pdf"

VeryPDF
-----------------------------------------
I think you are right, pdf2pdfa is the best choice.

One more question again about viruses:

If inside the PDF file a link point to an JPG image for example on the internet, what will your product do with that link, or if the image is embedded inside the PDF.

Thank you for all your time and answer it is very much appreciated.

Customer
-----------------------------------------
>>If inside the PDF file a link point to an JPG image for example on the internet, what will your product do with that link, or if the image is embedded inside the PDF.

Thanks for your message, if your PDF file contains a link to a JPG image file on the internet, the converted PDF/A file will contain that link also, because that link is just a link, it's not a JavaScript in PDF file, it's not danger.

btw, do you want to remove all hyperlinks from the PDF file too? if yes, please feel free to let us know, we may provide another tool for you to remove the all hyperlinks from PDF files.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!