• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unique ID
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
---------------------------------


  • Follow-Ups:
    • Re: Unique ID
      • From: John W Baxter <email@hidden>
  • Prev by Date: Re: Scripting OS X Mail app
  • Next by Date: Re: Scripting Additions: Embracing the Horror of Unix
  • Previous by thread: Re: Unique ID
  • Next by thread: Re: Unique ID
  • Index(es):
    • Date
    • Thread