Highlighted

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

Community Beginner ,
Aug 11, 2020

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?

TOPICS
Acrobat SDK and JavaScript, Create PDFs, Edit and convert PDFs, PDF forms

Views

40

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

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

Community Beginner ,
Aug 11, 2020

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?

TOPICS
Acrobat SDK and JavaScript, Create PDFs, Edit and convert PDFs, PDF forms

Views

41

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 11, 2020 0
Adobe Community Professional ,
Aug 11, 2020

Copy link to clipboard

Copied

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

permissions.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 11, 2020 0
Community Beginner ,
Aug 13, 2020

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?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 13, 2020 0
Adobe Community Professional ,
Aug 13, 2020

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 13, 2020 0
Most Valuable Participant ,
Aug 13, 2020

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 13, 2020 0
Adobe Community Professional ,
Aug 13, 2020

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 13, 2020 0