Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
Set a permissions password to allow form filling but no open password.
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
Yes. That is exactly the behavior that the feature was designed to do.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Good point. It'll keep honest people honest but that's about it.