These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Hiding JS in Acrobat-Forms

medi
Registered: Jun 17 2009
Posts: 12

Is there a Possibility to hide the JS-Code in the Document?
We have developed special Forms, but do not want to have restrictions in extracting pages.
Some users will fill the form in Reader, and then the form has to be finished in Acrobat.
But we will not show the JS-source Code to the Acrobat-User.

Is there an idea?

Thanks!

Dieter Metk

UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
You can't hide it (from Acrobat users), but you could try and obfuscate it using the usual techniques of escape sequence / eval loops.
medi
Registered: Jun 17 2009
Posts: 12
If extracting pages is not allowed bei security reasons, might there be a possibility using folder level scripts / trusted functions to extract pages as well?
Or to remove the encryption by a trusted function, then extracting pages, and then setting the security again?

Thank's for the fast response!

Dieter