Skip to main content
Participating Frequently
April 15, 2024
Question

Retrieve device specific information with JavaScript

  • April 15, 2024
  • 2 replies
  • 1104 views

Is there a way to retrieve information about a user's device? We have PDF files that send some information to our servers. Once the PDF file is sent to the first person who viewed the file, we want to be alerted when someone else viewed the file (intended recipient shared it to another person without our permission). Is there a way to detect this with JavaScript? Thanks

This topic has been closed for replies.

2 replies

JR Boulay
Community Expert
Community Expert
April 15, 2024

Yes and no.
Yes, because it is possible to access the user's identity data.
No because it requires an application script, i.e. the script must be installed in the "JavaScripts" folder of the Acrobat application on the user's computer.

Security is a must.

Acrobate du PDF, InDesigner et Photoshopographe
Nesa Nurani
Community Expert
Community Expert
April 15, 2024

I don't believe it's possible, but even if possible I would not recommend doing that, it would raise significant privacy and legal concerns.

Participating Frequently
April 15, 2024

I understand that concern. However, is there any way we can store a randomly generated ID somewhere in the user's device so that we can differentiate between users? The point is not to get their device information, but mainly to distinguish someone among other users.

try67
Community Expert
Community Expert
April 15, 2024

You can use a persistent global variable for that.