Copy link to clipboard
Copied
Hello!
I have a PDF document that has Javascript I do not want made available to those who use the document.
Is it possible to hide those fields so that the Javascript is not visible but maintain the document's functionality?
I want to protect the secret sauce even if the file is saved as a save-as.
Thank you for your assistance!
https://www.javascriptobfuscator.com/Javascript-Obfuscator.aspx
Be aware that certain Anti-virus softare and email providers might not like your PDF after this.
Copy link to clipboard
Copied
You can obfuscate the scripts, but there's no way of protecting it completely.
Copy link to clipboard
Copied
Thank you so much! This gives me something to think about.
Copy link to clipboard
Copied
Use password encryption that prevents "changing the document".
Copy link to clipboard
Copied
Thank you so much! Perhaps I can use password protection with obfuscating the scripts?
Copy link to clipboard
Copied
Yes, you can use both.
Copy link to clipboard
Copied
Thank you!
Any suggestions for the best way to obfuscate the scripts?
Copy link to clipboard
Copied
https://www.javascriptobfuscator.com/Javascript-Obfuscator.aspx
Be aware that certain Anti-virus softare and email providers might not like your PDF after this.
Copy link to clipboard
Copied
Thank you so much for the caution. I did not realize that would affect those items. I'm seeing there is no sure-fire way to protect your work.