• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Hiding fields in a PDF

Explorer ,
Oct 31, 2024 Oct 31, 2024

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!

TOPICS
Create PDFs , Edit and convert PDFs , How to , JavaScript , Modern Acrobat , PDF , PDF forms

Views

142

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
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 01, 2024 Nov 01, 2024

https://www.javascriptobfuscator.com/Javascript-Obfuscator.aspx

Be aware that certain Anti-virus softare and email providers might not like your PDF after this.

Votes

Translate

Translate
Community Expert ,
Oct 31, 2024 Oct 31, 2024

Copy link to clipboard

Copied

You can obfuscate the scripts, but there's no way of protecting it completely.

Votes

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
community guidelines
Explorer ,
Nov 01, 2024 Nov 01, 2024

Copy link to clipboard

Copied

Thank you so much! This gives me something to think about. 

Votes

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
community guidelines
Community Expert ,
Oct 31, 2024 Oct 31, 2024

Copy link to clipboard

Copied

Use password encryption that prevents "changing the document".

Votes

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
community guidelines
Explorer ,
Nov 01, 2024 Nov 01, 2024

Copy link to clipboard

Copied

Thank you so much! Perhaps I can use password protection with obfuscating the scripts?

 

Votes

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
community guidelines
Community Expert ,
Nov 01, 2024 Nov 01, 2024

Copy link to clipboard

Copied

Yes, you can use both.

Votes

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
community guidelines
Explorer ,
Nov 01, 2024 Nov 01, 2024

Copy link to clipboard

Copied

Thank you! 

 

Any suggestions for the best way to obfuscate the scripts?

Votes

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
community guidelines
Community Expert ,
Nov 01, 2024 Nov 01, 2024

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.

Votes

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
community guidelines
Explorer ,
Nov 01, 2024 Nov 01, 2024

Copy link to clipboard

Copied

LATEST

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. 

Votes

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
community guidelines