Skip to main content
Known Participant
March 9, 2017
Answered

Get the machine name & domain

  • March 9, 2017
  • 1 reply
  • 876 views

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

This topic has been closed for replies.
Correct answer Test Screen Name

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. 

1 reply

try67
Community Expert
Community Expert
March 9, 2017

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

patpix17Author
Known Participant
March 9, 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 !