Skip to main content
Participant
August 11, 2020
Question

Best way to Secure PDF but still allow text fields to be filled out?

  • August 11, 2020
  • 2 replies
  • 569 views

Hi All,

I have created a PDF form which includes JavaScript scripts and sensitive data such as URL to Submit the PDF to.

The form is an application form and I am hoping to allow clients to edit the data in the text fields but not be able to access to the code behind the scenes, i.e. the JavaScript and the submission URL. 

I had a quick look on Google but it seemed to be people wanting to lock the forms down as a whole, where I am hoping to still allow the client to edit some fields.

Whats the best way to do this?

This topic has been closed for replies.

2 replies

Legend
August 13, 2020

Be aware that it is trivially easy, if you know how (and I will not say how, or with what tools), to see all the JavaScript in a PDF. There is no secret. Do not include passwords, secret URLs, etc. etc.

Joel Geraci
Community Expert
Community Expert
August 13, 2020

Good point. It'll keep honest people honest but that's about it.

Joel Geraci
Community Expert
Community Expert
August 11, 2020

Set a permissions password to allow form filling but no open password.

Participant
August 13, 2020

Thanks for taking the time to reply. So will this stop the clients being able to access the code behind buttons, drop downs etc and only allow them to edit the form fields? And this can't be changed unless they know the password?

Joel Geraci
Community Expert
Community Expert
August 13, 2020

Yes. That is exactly the behavior that the feature was designed to do.