Re: Unique ID
Re: Unique ID
- Subject: Re: Unique ID
- From: David Lloyd <email@hidden>
- Date: Thu, 31 Jan 2002 21:39:56 +1100
>
I need to incorporate into an existing script a sneaky way of preventing
>
users copying a script onto another computer. Compare a constant with a
>
machine variable and exit if they don't match is my best idea. Startup disk
>
name is too simple, returning comments of say the startup disk is quite easy
>
to break, what about accessing the harddisk serial number/ethernet address?
>
Has anybody got any ideas on this.
A way would be to use the creator date of the startup disk - there wouldn't
be too many machines about that share a creation date of the same date and
time to the second.
Use the "Finder" though to get the creation date, because using the "info
for" command will be way too slow...
tell application "Finder" to set theVar to creation date of startup disk
David L
---------------------------------
email: email@hidden
web:
http://www.kanzu.com
---------------------------------