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

Get the machine name & domain

Community Beginner ,
Mar 09, 2017 Mar 09, 2017

Hello, we have a pdf document that we would like to secure by checking that it opens on a machine belonging to our business domain. This is to prevent it from being copied and pasted on other pcs. I know it's a security issue but is there a way to get the machine name and the domain in acrobat javascript? Thank you

TOPICS
Acrobat SDK and JavaScript , Windows
781
Translate
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

LEGEND , Mar 10, 2017 Mar 10, 2017

Note the security warnings. Very relevant here. Consider the effect of opening it on machines without the Document level JavaScript, or in viewers which ignore JavaScript. The best you can do us a very weak securuty, breakable in minutes. If your business needs are stricter consider enterprise level DRM. 

Translate
Community Expert ,
Mar 09, 2017 Mar 09, 2017

No, there isn't. Best thing you can get is the current user-name.

Translate
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 Beginner ,
Mar 09, 2017 Mar 09, 2017

Thanks a lot for reply. User-name can be a solution, if I use an array with allowed user names. I looked at javascript guide but I didn't find user-name example. Could you please give me more details or a link ? Thanks !

Translate
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 Beginner ,
Mar 09, 2017 Mar 09, 2017

Ok I've got it. name = identity.name;

Translate
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
LEGEND ,
Mar 10, 2017 Mar 10, 2017
LATEST

Note the security warnings. Very relevant here. Consider the effect of opening it on machines without the Document level JavaScript, or in viewers which ignore JavaScript. The best you can do us a very weak securuty, breakable in minutes. If your business needs are stricter consider enterprise level DRM. 

Translate
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