I have a standalone applescript program that inputs a password into the open password field of a pdf file. I also have a .app application ([url removed, login to view]) that grabs the macintosh end-user's computer serial number and requires a corresponding unique identifier to operate. I own the [url removed, login to view] file that produces the unique identifier for the CLIENT.app.
The goal: to lock the pdf file down to the end-user's computer - as follows:
The Programming Work:
The standalone applescript program needs the following statement programmed into it: "This file can only be launched by CLIENT.app." [url removed, login to view], on the other hand, is launched when I supply the unique identifier and is manually inputted by the end-user. Once the unique identifier is inputted into [url removed, login to view]:
(a) [url removed, login to view] only operates on that single machine - and does not operate on any other
(b) [url removed, login to view] launches the applescript program which, in turn, launches (and places the open password into) my pdf file.