Copy link to clipboard
Copied
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
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.
Copy link to clipboard
Copied
No, there isn't. Best thing you can get is the current user-name.
Copy link to clipboard
Copied
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 !
Copy link to clipboard
Copied
Ok I've got it. name = identity.name;
Copy link to clipboard
Copied
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.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now