home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / Information / CSMP Digest / volume 2 / csmp-v2-010.txt < prev    next >
Encoding:
Text File  |  1994-12-08  |  48.9 KB  |  1,229 lines  |  [TEXT/R*ch]

  1. C.S.M.P. Digest             Sun, 07 Feb 93       Volume 2 : Issue 10
  2.  
  3. Today's Topics:
  4.  
  5.     Distinguishing FrontClicks?
  6.     Uniquely identifying a Mac? How?
  7.  
  8.  
  9.  
  10. The Comp.Sys.Mac.Programmer Digest is moderated by Michael A. Kelly.
  11.  
  12. The digest is a collection of article threads from the internet newsgroup
  13. comp.sys.mac.programmer.  It is designed for people who read c.s.m.p. semi-
  14. regularly and want an archive of the discussions.  If you don't know what a
  15. newsgroup is, you probably don't have access to it.  Ask your systems
  16. administrator(s) for details.  If you don't have access to news, you can
  17. post articles to any newsgroup by mailing your article to
  18.     newsgroup@cs.utexas.edu
  19. So, to post an article to comp.sys.mac.programmer, mail your article to
  20.     comp-sys-mac-programmer@cs.utexas.edu
  21. Note the '-' instead of '.' in the newsgroup name.  Be sure to ask that
  22. replies be emailed to you instead of posted to the group, and give your
  23. email address.
  24.  
  25. Each issue of the digest contains one or more sets of articles (called
  26. threads), with each set corresponding to a 'discussion' of a particular
  27. subject.  The articles are not edited; all articles included in this digest
  28. are in their original posted form (as received by our news server at
  29. cs.uoregon.edu).  Article threads are not added to the digest until the last
  30. article added to the thread is at least one month old (this is to ensure that
  31. the thread is dead before adding it to the digest).  Article threads that
  32. consist of only one message are generally not included in the digest.
  33.  
  34. The entire digest is available for anonymous ftp from ftp.cs.uoregon.edu
  35. [128.223.8.8] in the directory /pub/mac/csmp-digest.  Be sure to read the
  36. file /pub/mac/csmp-digest/README before downloading any files.  The most
  37. recent issues are available from sumex-aim.stanford.edu [36.44.0.6] in the
  38. directory /info-mac/digest/csmp.  If you don't have ftp capability, the sumex
  39. archive has a mail server; send a message with the text '$MACarch help' (no
  40. quotes) to LISTSERV@ricevm1.rice.edu for more information.
  41.  
  42. The digest is also available via email.  Just send a note saying that you
  43. want to be on the digest mailing list to mkelly@cs.uoregon.edu, and you will
  44. automatically receive each new issue as it is created.  Sorry, back issues
  45. are not available through the mailing list.
  46.  
  47. Send administrative mail to mkelly@cs.uoregon.edu.
  48.  
  49.  
  50. -------------------------------------------------------
  51.  
  52. From: Michael_Hecht@mac.sas.com (Michael Hecht)
  53. Subject: Distinguishing FrontClicks?
  54. Date: 23 Dec 92 16:07:49 GMT
  55. Organization: SAS Institute Inc.
  56.  
  57. Hello!
  58.  
  59. I turned on the getFrontClicks bit in my SIZE resource, because it makes
  60. sense for my application. However, I don't want *all* parts of the window
  61. to respond to layer-changing clicks. How can I distinguish a click that
  62. changes my layer from other clicks?
  63.  
  64. I can't just assume the next click after a resume event is a frontClick,
  65. since the user may have switched to me via the application menu or by
  66. double-clicking my Finder icon. For all I know, some other app may have
  67. called SetFrontProcess for me! Just throwing out the next click would
  68. probably frustrate the user (me) in these cases.
  69.  
  70. The best method I could think of is to use EventAvail to look for
  71. mouseDown events in my resume event handler. If I see one I'll set a flag
  72. that I can look at in my mouseDown handler. Is this a reliable method?
  73.  
  74. What I'd prefer is something along the lines of an event modifiers flag
  75. on the mouseDown that says "this event caused you to switch layers."
  76.  
  77. Thanks!
  78. - --Michael
  79.  
  80. =======================================================================
  81. Michael P. Hecht                 | Internet:  Michael_Hecht@mac.sas.com
  82. SAS Institute Inc.; Cary, NC USA | AppleLink: SAS.HECHT
  83.  
  84. +++++++++++++++++++++++++++
  85.  
  86. From: absurd@apple.apple.com (Tim Dierks, software saboteur)
  87. Date: 3 Jan 93 22:40:14 GMT
  88. Organization: MacDTS Marauders
  89.  
  90. In article <BzpzH1.8tD@unx.sas.com>, Michael Hecht
  91. <Michael_Hecht@mac.sas.com> wrote:
  92. > Hello!
  93. > I turned on the getFrontClicks bit in my SIZE resource, because it makes
  94. > sense for my application. However, I don't want *all* parts of the window
  95. > to respond to layer-changing clicks. How can I distinguish a click that
  96. > changes my layer from other clicks?
  97.  
  98. A technique that's worked for me is to compare the 'when' fields of the
  99. click and the resume event; if the mouseDown has a time before the
  100. resume event, then it's probably this click that caused you to be switched.
  101. (The exception would be if the user had posted several events, which got
  102. queued up because [Get|Wait]NextEvent wasn't being called often enough;
  103. for example, if I have an INIT which switches layers when I hit a hot key
  104. installed, and I type the hot key, then click, the click won't have caused
  105. the switch, but it will seem like it had.)
  106.  
  107. Specifically, when you get a resume, remember the value in the "when"
  108. field;
  109. when you get the first mouseDown after the resume, check its when; if it
  110. was posted before the resume (or at the same time), consider it to be the
  111. click that brought you forward.
  112.  
  113. Official sounding warning: this is only a side effect of the way the
  114. process manager works now.  Don't count on it continuing to work this way,
  115. it's not a documented feature.  If you want to use it, make sure you're
  116. willing to accept the ways in which it might break (unreliable detection
  117. of clicks which bring the layer to the front).
  118.  
  119. Enjoy,
  120. Tim Dierks
  121. MacDTS, but I speak for myself and my Albert Einstein doll
  122.  
  123. +++++++++++++++++++++++++++
  124.  
  125. From: keith@taligent.com (Keith Rollin)
  126. Organization: Taligent
  127. Date: Mon, 4 Jan 1993 04:53:53 GMT
  128.  
  129. In article <absurd-030193142840@seuss.apple.com>, absurd@apple.apple.com
  130. (Tim Dierks, software saboteur) wrote:
  131. > Tim Dierks
  132. > MacDTS, but I speak for myself and my Albert Einstein doll
  133.  
  134. Hmm...looks like DTS still has that x-mas gift swap at the end of the
  135. year...
  136.  
  137. - -----
  138. Keith Rollin
  139. Phantom Programmer
  140. Taligent, Inc.
  141.  
  142. +++++++++++++++++++++++++++
  143.  
  144. From: ericsc@microsoft.com (Eric Schlegel)
  145. Date: 4 Jan 93 16:08:43 GMT
  146. Organization: Microsoft Corporation
  147.  
  148. In article <absurd-030193142840@seuss.apple.com> absurd@apple.apple.com
  149. (Tim Dierks, software saboteur) writes:
  150. >In article <BzpzH1.8tD@unx.sas.com>, Michael Hecht
  151. ><Michael_Hecht@mac.sas.com> wrote:
  152. >> 
  153. >> I turned on the getFrontClicks bit in my SIZE resource, because it makes
  154. >> sense for my application. However, I don't want *all* parts of the window
  155. >> to respond to layer-changing clicks. How can I distinguish a click that
  156. >> changes my layer from other clicks?
  157. >
  158. >A technique that's worked for me is to compare the 'when' fields of the
  159. >click and the resume event; if the mouseDown has a time before the
  160. >resume event, then it's probably this click that caused you to be switched.
  161.  
  162. Wow, I know something that Tim doesn't... :) I've never actually used this,
  163. but according to IM 6, pg. 5-16, the activeFlag bit in the modifiers field
  164. of a mouseDown event will be set if the mouseDown caused your layer to become
  165. frontmost. Also see pg. 2-20 in IM:Mac Toolbox Essentials. Note that this is
  166. a System 7-specific feature - it won't work for MultiFinder under System 6.
  167.  
  168. - -eric
  169. - -----
  170. My opinions, not Microsoft's.
  171.  
  172. +++++++++++++++++++++++++++
  173.  
  174. From: absurd@apple.apple.com (Tim Dierks, software saboteur)
  175. Date: Tue, 5 Jan 1993 22:57:25 GMT
  176. Organization: MacDTS Marauders
  177.  
  178. In article <1993Jan04.160843.18732@microsoft.com>, ericsc@microsoft.com
  179. (Eric Schlegel) wrote:
  180. > In article <absurd-030193142840@seuss.apple.com> absurd@apple.apple.com
  181. > (Tim Dierks, software saboteur) writes:
  182. > >In article <BzpzH1.8tD@unx.sas.com>, Michael Hecht
  183. > ><Michael_Hecht@mac.sas.com> wrote:
  184. > >> 
  185. > >> I turned on the getFrontClicks bit in my SIZE resource, because it makes
  186. > >> sense for my application. However, I don't want *all* parts of the window
  187. > >> to respond to layer-changing clicks. How can I distinguish a click that
  188. > >> changes my layer from other clicks?
  189. > >
  190. > >A technique that's worked for me is to compare the 'when' fields of the
  191. > >click and the resume event; if the mouseDown has a time before the
  192. > >resume event, then it's probably this click that caused you to be switched.
  193. > Wow, I know something that Tim doesn't... :) I've never actually used this,
  194. > but according to IM 6, pg. 5-16, the activeFlag bit in the modifiers field
  195. > of a mouseDown event will be set if the mouseDown caused your layer to become
  196. > frontmost. Also see pg. 2-20 in IM:Mac Toolbox Essentials. Note that this is
  197. > a System 7-specific feature - it won't work for MultiFinder under System 6.
  198. > -eric
  199. > -----
  200. > My opinions, not Microsoft's.
  201.  
  202. Cool!  Just goes to show that Inside Mac VI is bigger than you
  203. can possibly imagine....
  204.  
  205. Tim Dierks
  206. MacDTS, but I speak for myself
  207.  
  208. Drop by and say 'Hi' at MacWorld- DTS Debugging Lab, I'll be there
  209. Thursday morning and Friday afternoon.
  210.  
  211. ---------------------------
  212.  
  213. From: mtc@mundil.cs.mu.OZ.AU (Michael Trevor CUTTER)
  214. Subject: Uniquely identifying a Mac? How?
  215. Date: 14 Dec 92 23:34:35 GMT
  216. Organization: Computer Science, University of Melbourne, Australia
  217.  
  218. We are looking for a way to uniquely identify a Mac, probably one on a network,
  219. but not necessarily. Is the serial number or similar available somewhere in the
  220. ROMs or parameter RAM? (Highly unlikely, I know - specially since PRAM can be
  221. reset)
  222.  
  223. We are considering assigning each mac a unique chooser name then disabling the
  224. Sharing Setup Control panel...this is the best solution so far.
  225.  
  226. Any assistance would be wonderful.
  227.  
  228. Regards,
  229.     Mike.
  230. - -- 
  231. Michael Cutter                        email: mtc@mundil.cs.mu.oz.au
  232. Ictinus Network Development Team             mtc@arbld.unimelb.edu.au
  233. BCAT Development Team                 snail: c/- 3 Barton Street
  234. Department of Architecture & Building        Hawthorn, VIC, 3122 
  235. University of Melbourne, Australia           AUSTRALIA
  236. Sort of 3rd Year Computer Scientist   phail: 61-3-853 9717
  237.  
  238. +++++++++++++++++++++++++++
  239.  
  240. From: bredell@tdb.uu.se (Mats Bredell)
  241. Date: 15 Dec 92 14:11:28 GMT
  242. Organization: Uppsala University Computing Center (UDAC)
  243.  
  244. Michael Trevor CUTTER (mtc@mundil.cs.mu.OZ.AU) wrote:
  245. : We are looking for a way to uniquely identify a Mac, probably one on a network,
  246. : but not necessarily. Is the serial number or similar available somewhere in the
  247. : ROMs or parameter RAM? (Highly unlikely, I know - specially since PRAM can be
  248. : reset)
  249. : We are considering assigning each mac a unique chooser name then disabling the
  250. : Sharing Setup Control panel...this is the best solution so far.
  251. : Any assistance would be wonderful.
  252.  
  253. I also need to solve this problem for a program I'm writing. I've considered
  254. two possibilities:
  255.  
  256.   1. If there's an ethernet card, use the ethernet address.
  257.   2. Use the creation date/time of the harddisk or system folder or something
  258.      similar.
  259.  
  260. This method will work as long as the user is not reconfiguring the system or
  261. reformating the harddisk. This is not a problem in my case, since it will
  262. "only" force the user to reconfigure the application in my case.
  263.  
  264. /Mats
  265. - -- 
  266. Mats Bredell                                   Mats.Bredell@udac.uu.se
  267. Uppsala University Computing Center (UDAC)     Ph:  +46 18 187817
  268. Department of medical systems                  Fax: +46 18 187825
  269. Sweden                                         Think straight - be gay!
  270.  
  271. +++++++++++++++++++++++++++
  272.  
  273. From: d88-jwa@dront.nada.kth.se (Jon Wtte)
  274. Date: 15 Dec 92 12:17:56 GMT
  275. Organization: Royal Institute of Technology, Stockholm, Sweden
  276.  
  277. In <9235010.4295@mulga.cs.mu.OZ.AU> mtc@mundil.cs.mu.OZ.AU (Michael Trevor CUTTER) writes:
  278.  
  279. >We are looking for a way to uniquely identify a Mac, probably one on a network,
  280. >but not necessarily. Is the serial number or similar available somewhere in the
  281. >ROMs or parameter RAM? (Highly unlikely, I know - specially since PRAM can be
  282. >reset)
  283.  
  284. The ROMs are masked, so doing them unique would be a trifle expensive :-)
  285. (You could do it by burning wit a laser)
  286.  
  287. >We are considering assigning each mac a unique chooser name then disabling the
  288. >Sharing Setup Control panel...this is the best solution so far.
  289.  
  290. If you run MacTCP, each mac will have/get its own IP address;
  291. likewise, EtherNet cards have a 6-byte EtherNet address that's
  292. unique in the world.
  293.  
  294. - -- 
  295.  -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
  296.    The word "politics" is derived from the word "poly", meaning
  297.    "many", and the word "ticks", meaning "blood sucking parasites".
  298.                      -- Larry Hardiman
  299.  
  300. +++++++++++++++++++++++++++
  301.  
  302. From: roy@mchip00.med.nyu.edu (Roy Smith)
  303. Date: 16 Dec 92 02:16:56 GMT
  304. Organization: New York University, School of Medicine
  305.  
  306. d88-jwa@dront.nada.kth.se (Jon Wtte) writes:
  307. >If you run MacTCP, each mac will have/get its own IP address;
  308. >likewise, EtherNet cards have a 6-byte EtherNet address that's
  309. >unique in the world.
  310.  
  311.     Well, no, that's not quite true.  If you run MacTCP, you basically
  312. have 3 choices:
  313.  
  314.     1) You're configured for "Manual" mode, in which case the only
  315. reason you have an unique IP address is because somebody (manually, hence
  316. the name) configured it in.  That somebody could just as easily change it,
  317. either by accident, or on purpose.
  318.  
  319.     2) You're on a LocalTalk segment behind a FastPath (or similar box
  320. with KIP-like dynamic address allocation) and you're configured for "Server"
  321. moded.  In that case, you've got an IP address which is currently unique,
  322. but each time you reboot, you (potentially) get a different one.  Hardly
  323. useful for identifying a machine on the network.
  324.  
  325.     3) You're on Ethernet and configured for "Server" mode, in which
  326. case a bootp server gave you your IP address, based on a 1-to-1 mapping from
  327. your ethernet address.  I don't know about token ring, but presumably the
  328. same thing can happen with TokenTalk.
  329.  
  330.     Then, of course, there's "Dynamic" mode in MacTCP, but I havn't the
  331. foggiest idea what it is. :-)
  332.  
  333.     Unfortunately, as far as I can tell, unless your Mac has an ethernet
  334. (or, presumably, token ring) port, there is no built-in unique way to
  335. identify the machine.  I personally think it was a major mistake for Apple
  336. to not have put some sort of machine-readable serial number in each machine.
  337. Actually, there is a machine-readable serial number *on* each machine; it's
  338. the bar-code label on the bottom/back/where-ever.  Unfortunately, since most
  339. Macs don't come with bar-code readers, they have no way of finding out their
  340. own serial number.  Sort of like walking around with a sign painted on your
  341. forehead that everybody but yourself can read!  Obviously, it would have
  342. added something to the manufacturing costs, but slapping those unique
  343. bar-code labels must cost something too; I would have been happy to give up
  344. the unique bar-code on my keyboard and mouse to have a serial number burned
  345. into an eprom on board.
  346.  
  347. - -- 
  348. Roy Smith <roy@nyu.edu>
  349. Hippocrates Project, Department of Microbiology, Coles 202
  350. NYU School of Medicine, 550 First Avenue, New York, NY 10016
  351. "This never happened to Bart Simpson."
  352.  
  353. +++++++++++++++++++++++++++
  354.  
  355. From: jcav@ellis.uchicago.edu (JohnC)
  356. Date: 16 Dec 92 15:49:37 GMT
  357. Organization: The Royal Society for Putting Things on Top of Other Things
  358.  
  359. In article <1gm3ioINN9uh@calvin.NYU.EDU> roy@mchip00.med.nyu.edu (Roy Smith) writes:
  360. >    Unfortunately, as far as I can tell, unless your Mac has an ethernet
  361. >(or, presumably, token ring) port, there is no built-in unique way to
  362. >identify the machine.  I personally think it was a major mistake for Apple
  363. >to not have put some sort of machine-readable serial number in each machine.
  364. []
  365.  
  366. Apple's Lisa computers each had a software-accessable serial number.  This was
  367. mostly used for copy-protecting software, including the OS.  Ick.
  368.  
  369.  
  370. - -- 
  371. John Cavallino                  |  EMail: jcav@midway.uchicago.edu
  372. University of Chicago Hospitals |         John_Cavallino@uchfm.bsd.uchicago.edu
  373. Office of Facilities Management | USMail: 5841 S. Maryland Ave, MC 0953
  374. B0 f++ c+ g++ k s++ e+ h- pv    |         Chicago, IL  60637
  375.  
  376. +++++++++++++++++++++++++++
  377.  
  378. From: absurd@apple.apple.com (Tim Dierks, software saboteur)
  379. Date: 16 Dec 92 18:02:49 GMT
  380. Organization: MacDTS Marauders
  381.  
  382. In article <1gm3ioINN9uh@calvin.NYU.EDU>, roy@mchip00.med.nyu.edu (Roy
  383. Smith) wrote:
  384. > d88-jwa@dront.nada.kth.se (Jon Wtte) writes:
  385. > >If you run MacTCP, each mac will have/get its own IP address;
  386. > >likewise, EtherNet cards have a 6-byte EtherNet address that's
  387. > >unique in the world.
  388.  
  389. [ Stuff about MacTCP configurations ]
  390.  
  391. >     Unfortunately, as far as I can tell, unless your Mac has an ethernet
  392. > (or, presumably, token ring) port, there is no built-in unique way to
  393. > identify the machine.  I personally think it was a major mistake for Apple
  394. > to not have put some sort of machine-readable serial number in each machine.
  395.  
  396. Well, the Lisa had a unique serial number in each machine; as I
  397. understand, it was burned into a special PROM on the motherboard.
  398. This was a major headache at the time, which is why it wasn't
  399. continued in the Mac.  The biggest single problem was serviceing
  400. these machines; if the PROM blew, you had to special-order a
  401. PROM that matched the one that had been destroyed (or all your
  402. copy-protected software wouldn't work anymore) or have to go and
  403. tell a number of software companies that your PROM blew so you need
  404. a new unlocked copy of their program.  If something else on the
  405. machine broke, or you wanted to upgrade, and you wanted to swap
  406. motherboards, you had to deal with swapping the serial PROMs too.
  407.  
  408. In the end it was much more trouble than it was worth, and its
  409. only real purpose was copy-protection, and copy-protection is
  410. generally easily worked around, so it was taken out of the Mac.
  411.  
  412. Tim Dierks
  413. MacDTS, but today my shoes match!
  414.  
  415. +++++++++++++++++++++++++++
  416.  
  417. From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
  418. Date: 17 Dec 92 16:28:20 +1300
  419. Organization: University of Waikato, Hamilton, New Zealand
  420.  
  421. In article <1gm3ioINN9uh@calvin.NYU.EDU>, roy@mchip00.med.nyu.edu (Roy Smith) writes:
  422. >
  423. > I personally think it was a major mistake for Apple
  424. > to not have put some sort of machine-readable serial number in each machine.
  425.  
  426. The trouble with providing a feature like that is that people will start to
  427. use it.
  428.  
  429. Can you say "copy protection"...?
  430.  
  431. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  432. Computer Services Dept                     fax: +64-7-838-4066
  433. University of Waikato            electric mail: ldo@waikato.ac.nz
  434. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+13:00
  435.  
  436. +++++++++++++++++++++++++++
  437.  
  438. From: ematias@dgp.toronto.edu (Edgar Matias)
  439. Date: 17 Dec 92 15:58:13 GMT
  440. Organization: CSRI, University of Toronto
  441.  
  442.  
  443. > In article <1gm3ioINN9uh@calvin.NYU.EDU>, roy@mchip00.med.nyu.edu (Roy Smith) writes:
  444. > >
  445. > > I personally think it was a major mistake for Apple
  446. > > to not have put some sort of machine-readable serial number in each machine.
  447. > The trouble with providing a feature like that is that people will start to
  448. > use it.
  449. > Can you say "copy protection"...?
  450. > Lawrence D'Oliveiro                       fone: +64-7-856-2889
  451.  
  452.  
  453. Isn't that the idea?  If you are going to have a copy protection scheme,
  454. I'd think that would be the best type.  Least amount of hassle for the
  455. user, yet still protects the software industry's interests.  Of course,
  456. if you're in the habit of pirating software maybe it's not in your 
  457. interests...
  458.  
  459. I'm a little surprised that the software industry hasn't latched onto
  460. this idea and lobbied hard for it.  It seems like the ideal solution
  461. to software piracy.  Of course, it wouldn't stop piracy entirely but
  462. it would certainly put a serious dent in it.
  463.  
  464. Edgar
  465. - -- 
  466. Edgar Matias
  467. Input Research Group
  468. University of Toronto
  469. - --
  470. I speak for no one...
  471.  
  472. +++++++++++++++++++++++++++
  473.  
  474. From: de19@umail.umd.edu (Dana S Emery)
  475. Date: 17 Dec 92 22:42:58 GMT
  476. Organization: personal
  477.  
  478. In article <1992Dec17.105813.18407@jarvis.csri.toronto.edu>,
  479. ematias@dgp.toronto.edu (Edgar Matias) wrote:
  480. > > In article <1gm3ioINN9uh@calvin.NYU.EDU>, roy@mchip00.med.nyu.edu (Roy Smith) writes:
  481. > > >
  482. > > > I personally think it was a major mistake for Apple
  483. > > > to not have put some sort of machine-readable serial number in each machine.
  484. > > 
  485. > > The trouble with providing a feature like that is that people will start to
  486. > > use it.
  487. > > 
  488. > > Can you say "copy protection"...?
  489. > > 
  490. > > Lawrence D'Oliveiro                       fone: +64-7-856-2889
  491. > Isn't that the idea?  If you are going to have a copy protection scheme,
  492. > I'd think that would be the best type.  Least amount of hassle for the
  493. > user, yet still protects the software industry's interests.  Of course,
  494. > if you're in the habit of pirating software maybe it's not in your 
  495. > interests...
  496. > I'm a little surprised that the software industry hasn't latched onto
  497. > this idea and lobbied hard for it.  It seems like the ideal solution
  498. > to software piracy.  Of course, it wouldn't stop piracy entirely but
  499. > it would certainly put a serious dent in it.
  500.  
  501.  
  502. OK, now that would either be in a custom chip or in the Roms, but in either
  503. case it would be WELDED on to the logic board, right?
  504.  
  505. Now what happens when a logic board needs service?  Since the board now
  506. must stay with the machine, you have just forced all apple dealers to
  507. perform componant level diagnosis and repair, this is a dramatic change
  508. from present policy, and on which APple is likely to regard as a giant step
  509. backward.
  510.  
  511. Oh, and just how would one deal with a faulty Rom chip, or a ROM upgrade
  512. (remember the SCSI problems in the first and second versions of the 128k
  513. roms?).
  514. - --
  515.  
  516. Dana S Emery <de19@umail.umd.edu>
  517.  
  518. +++++++++++++++++++++++++++
  519.  
  520. From: ematias@dgp.toronto.edu (Edgar Matias)
  521. Date: 18 Dec 92 03:32:00 GMT
  522. Organization: CSRI, University of Toronto
  523.  
  524.  
  525. > OK, now that would either be in a custom chip or in the Roms, but in
  526. > either case it would be WELDED on to the logic board, right? 
  527. >
  528.  
  529. No, it would be in a socket.  That way, if you had to swap for a new 
  530. board you could simply pull it out of the old board and stick it in
  531. the new one.  No wielding required.
  532.  
  533. Edgar
  534. - -- 
  535. Edgar Matias
  536. Input Research Group
  537. University of Toronto
  538. - --
  539. I speak for no one...
  540.  
  541. +++++++++++++++++++++++++++
  542.  
  543. From: griswoldj@bntley.bntley.ingr.com (John Griswold)
  544. Organization: Bentley Systems (Development)
  545. Date: Fri, 18 Dec 1992 14:51:09 GMT
  546.  
  547. In article <1992Dec17.223200.15385@jarvis.csri.toronto.edu>,
  548. ematias@dgp.toronto.edu (Edgar Matias) wrote:
  549. > > OK, now that would either be in a custom chip or in the Roms, but in
  550. > > either case it would be WELDED on to the logic board, right? 
  551. > >
  552. > No, it would be in a socket.  That way, if you had to swap for a new 
  553. > board you could simply pull it out of the old board and stick it in
  554. > the new one.  No wielding required.
  555.  
  556. And what happens when I upgrade my machine (like I just recently did).  Do
  557. I have to go and buy all new software.  Forget that, I will deal with
  558. software companies that can deal with *real* users.  If you have to deal
  559. with some form of hardware lock I would prefer the dongle approach.  You
  560. know those little inline boxes that can hang off of the ADB.  But I prefer
  561. to not even deal with that.
  562.  
  563. - --------------------------------------------+---------------------------
  564. John Griswold                               | Bentley Systems Inc.
  565. UUCP: ...uunet!ingr!bntley!griswoldj        | 690 Pennsylvania Drive 
  566. INTERNET: griswoldj@bntley.bntley.ingr.com  | Eagleview Corporate Center
  567. AT&T:     (215) 458-5000                    | Exton, PA 19341
  568. - --------------------------------------------+---------------------------
  569.  
  570. +++++++++++++++++++++++++++
  571.  
  572. Organization: Royal Institute of Technology, Stockholm, Sweden
  573. Date: Fri, 18 Dec 1992 14:52:47 GMT
  574.  
  575. In <1992Dec17.105813.18407@jarvis.csri.toronto.edu> ematias@dgp.toronto.edu (Edgar Matias) writes:
  576.  
  577. >> > I personally think it was a major mistake for Apple
  578. >> > to not have put some sort of machine-readable serial number in each machine.
  579. >> The trouble with providing a feature like that is that people will start to
  580. >> use it.
  581.  
  582. >I'd think that would be the best type.  Least amount of hassle for the
  583. >user, yet still protects the software industry's interests.  Of course,
  584.  
  585. Copy protection sucks. ALWAYS.
  586.  
  587. What if you have to have a logic board replacement? Or a copy
  588. T use at the same time as
  589. the Quadra)? Or just plain upgraded your machine?
  590.  
  591. t be circumvented, and
  592. s hassle-free,
  593.  
  594. Cheers,
  595.  
  596.                             / h+
  597.  
  598. - -- 
  599.  -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
  600.  
  601.    NetHack 3.1: Any Year Now.
  602.  
  603. +++++++++++++++++++++++++++
  604.  
  605. From: anadig@otago.ac.nz
  606. Date: 18 Dec 92 19:04:18 +1300
  607. Organization: University of Otago, Dunedin, New Zealand
  608.  
  609. In article <absurd-161292095851@seuss.apple.com>, absurd@apple.apple.com (Tim Dierks, software saboteur) writes:
  610.  
  611. > continued in the Mac.  The biggest single problem was serviceing
  612. > these machines; if the PROM blew, you had to special-order a
  613.                      ^^^^^^^^^^^^^
  614. The PROM blew? Just blew? Did this actually happen? I'm amazed: I though PROMs
  615. (not EPROMs, mind you) were extremely reliable, more so than most components on
  616. a typical motherboard. Did Apple have some special problems with them?
  617.  
  618. I would have thought the Lisa problem would happen when for whatever reason it
  619. was necessary to swap the motherboard, at which point the soldered-in PROM
  620. would be impracticable to remove...
  621.  
  622. Michael(tm) Hamel
  623. Analog Digital Instruments, Dunedin, New Zealand.
  624.  
  625. +++++++++++++++++++++++++++
  626.  
  627. From: k044477@hobbes.kzoo.edu (Jamie R. McCarthy)
  628. Organization: Kalamazoo College
  629. Date: Fri, 18 Dec 1992 21:33:02 GMT
  630.  
  631. anadig@otago.ac.nz writes:
  632. >absurd@apple.apple.com (Tim Dierks, software saboteur) writes:
  633. >
  634. >> continued in the Mac.  The biggest single problem was serviceing
  635. >> these machines; if the PROM blew, you had to special-order a
  636. >
  637. >I would have thought the Lisa problem would happen when for whatever reason it
  638. >was necessary to swap the motherboard, at which point the soldered-in PROM
  639. >would be impracticable to remove...
  640.  
  641. My two bits on copy protection:  I have a Lisa sitting in my closet,
  642. complete with the manuals and original disks for LisaWrite, LisaDraw,
  643. LisaPaint, LisaDoodle, and LisaYodel.  I also have a defunct 4.8-meg
  644. ProFile hard drive, which presumably has all that software on it, but
  645. which stubbornly refuses to work.
  646.  
  647. The disks won't reinstall;  I think the installation process marked the
  648. disks as "already installed," and it refuses to do it again.  At least,
  649. that's what a Lisa reference book says (yes, I actually found one at a
  650. bookstore!).
  651.  
  652. So, I bought $10,000 (1983 dollars) worth of hardware, probably several
  653. thousand in software, and a cool hard drive for under $15, and I got
  654. rooked.  It's worth whatever a scrap metal dealer will pay for it (and,
  655. despite that solid lead case, I don't think I'll get $15).
  656.  
  657. Even if I got the hard drive working, I'd have to call up the software
  658. company and ask them to send me replacement disks in exchange for the
  659. ones I have...anyone think I'll get them?
  660. - -- 
  661.  Jamie McCarthy      Internet: k044477@kzoo.edu      AppleLink: j.mccarthy
  662.  "As you should know by now, we're strong believers in the Apple II
  663.   and always will be.  But we can't ignore reality forever."
  664.     - Tom Weishaar
  665.  
  666. +++++++++++++++++++++++++++
  667.  
  668. From: lsr@taligent.com (Larry Rosenstein)
  669. Date: 19 Dec 92 03:01:59 GMT
  670. Organization: Taligent, Inc.
  671.  
  672. In article <1992Dec17.105813.18407@jarvis.csri.toronto.edu>,
  673. ematias@dgp.toronto.edu (Edgar Matias) wrote:
  674. > Isn't that the idea?  If you are going to have a copy protection scheme,
  675. > I'd think that would be the best type.  Least amount of hassle for the
  676. > user, yet still protects the software industry's interests.  Of course,
  677.  
  678. You'd think so, but I remember visiting a Lisa customer who had problems
  679. because he had to keep track of which set of diskettes went with which
  680. machine.
  681.  
  682. Larry Rosenstein
  683. Taligent, Inc.
  684.  
  685. lsr@taligent.com
  686.  
  687. +++++++++++++++++++++++++++
  688.  
  689. From: russotto@eng.umd.edu (Matthew T. Russotto)
  690. Date: 19 Dec 92 03:04:55 GMT
  691. Organization: Project GLUE, University of Maryland, College Park
  692.  
  693. In article <1992Dec18.190418.437@otago.ac.nz> anadig@otago.ac.nz writes:
  694. >In article <absurd-161292095851@seuss.apple.com>, absurd@apple.apple.com (Tim Dierks, software saboteur) writes:
  695. >
  696. >> continued in the Mac.  The biggest single problem was serviceing
  697. >> these machines; if the PROM blew, you had to special-order a
  698. >                     ^^^^^^^^^^^^^
  699. >The PROM blew? Just blew? Did this actually happen? I'm amazed: I though PROMs
  700. >(not EPROMs, mind you) were extremely reliable, more so than most components on
  701. >a typical motherboard. Did Apple have some special problems with
  702. them?
  703.  
  704. I don't know about in the Mac, but blasting the P5/P5A PROM on the old
  705. Apple II disk controller card was a fairly common occurrence.
  706. - -- 
  707. Matthew T. Russotto    russotto@eng.umd.edu    russotto@wam.umd.edu
  708. Some news readers expect "Disclaimer:" here.
  709. Just say NO to police searches and seizures.  Make them use force.
  710. (not responsible for bodily harm resulting from following above advice)
  711.  
  712. +++++++++++++++++++++++++++
  713.  
  714. From: niel@cars.com (Niel Bornstein)
  715. Date: Thu, 17 Dec 92 09:29:55 EDT
  716. Organization: Heavy Objects R Us
  717.  
  718.  
  719. In article <9235010.4295@mulga.cs.mu.OZ.AU> (comp.sys.mac.programmer), mtc@mundil.cs.mu.OZ.AU (Michael Trevor CUTTER) writes:
  720. >We are looking for a way to uniquely identify a Mac, probably one on a network,
  721. >but not necessarily. Is the serial number or similar available somewhere in the
  722. >ROMs or parameter RAM? (Highly unlikely, I know - specially since PRAM can be
  723. >reset)
  724.  
  725.  
  726. How about the AppleTalk address?  I know, they are assigned dynamically,
  727. but if the network is mature it will stabilize.  Are machines being
  728. added to or taken off the network a lot?  
  729.  
  730. Or if it's a TCP/IP network, there's the IP address.
  731.  
  732. If they're not networked, I don't know.
  733.  
  734. Niel
  735.  
  736. |--------------------------------------------------------------------------
  737. | Niel M. Bornstein                              chinchilla!niel@cars.com |
  738. | 1352 North Morningside Drive               ...csn!sable!chinchilla!niel |
  739. | Atlanta, Georgia  30306                 (404) 872-6883   (404) 551-8075 |
  740. - --------------------------------------------------------------------------|
  741. | Opinions? I don't need no stinkin' opinions!                            |
  742. |--------------------------------------------------------------------------
  743.  
  744. +++++++++++++++++++++++++++
  745.  
  746. From: peter@cujo.curtin.edu.au (Peter N Lewis)
  747. Date: 21 Dec 92 05:39:52 GMT
  748. Organization: NCRPDA, Curtin University
  749.  
  750. In article <1992Dec17.105813.18407@jarvis.csri.toronto.edu>,
  751. ematias@dgp.toronto.edu (Edgar Matias) wrote:
  752. > > In article <1gm3ioINN9uh@calvin.NYU.EDU>, roy@mchip00.med.nyu.edu (Roy Smith) writes:
  753. > > >
  754. > > > I personally think it was a major mistake for Apple
  755. > > > to not have put some sort of machine-readable serial number in each machine.
  756.  
  757. > > Can you say "copy protection"...?
  758.  
  759. > Isn't that the idea?  If you are going to have a copy protection scheme,
  760. > I'd think that would be the best type.  Least amount of hassle for the
  761. > user, yet still protects the software industry's interests.  Of course,
  762. > if you're in the habit of pirating software maybe it's not in your 
  763. > interests...
  764. > I'm a little surprised that the software industry hasn't latched onto
  765. > this idea and lobbied hard for it.  It seems like the ideal solution
  766. > to software piracy.  Of course, it wouldn't stop piracy entirely but
  767. > it would certainly put a serious dent in it.
  768.  
  769. Isn't it clear why its not done?  If Apple put a serial number on the 
  770. machine, and people successfully copy protect their programs, the immediate
  771. consequence of this is that the value of the machine drops a great deal.
  772. All those users can't pirate the programs they want, so they stop buying
  773. the machines, and buy other machines where they can get the programs 
  774. they want for free.  This may not be moral, but I haven't found much
  775. connection between morality and reality.  Besides, its not Apple's 
  776. problem if people pirate (non-apple) software, quite the opposite,
  777. Apple benifits by this.
  778.  
  779. I'm not condoning piracy - the world would probably be a better place
  780. if their was no piracy, but the world would be better off if no one
  781. went hungry as well, and neither of these outcomes are going to happen
  782. any time soon, and the latter is far more important than the former anyway.
  783.  
  784. There have actually been a few examples of hardware with serial numbers
  785. on them, but they've mostly gone out of business now...
  786.  
  787. Have fun all,
  788.    Peter.
  789.  
  790. _______________________________________________________________________
  791. Peter N Lewis <peter@cujo.curtin.edu.au>             Ph: +61 9 368 2055
  792.  
  793. +++++++++++++++++++++++++++
  794.  
  795. From: jpugh@apple.com (Jon Pugh)
  796. Date: 22 Dec 92 06:36:00 GMT
  797. Organization: Apple Computer, Inc.
  798.  
  799. In article <peter-211292133304@rocky.curtin.edu.au>,
  800. peter@cujo.curtin.edu.au (Peter N Lewis) wrote:
  801. > Isn't it clear why its not done?  If Apple put a serial number on the 
  802. > machine, and people successfully copy protect their programs, the immediate
  803. > consequence of this is that the value of the machine drops a great deal.
  804. > All those users can't pirate the programs they want, so they stop buying
  805. > the machines, and buy other machines where they can get the programs 
  806. > they want for free.  This may not be moral, but I haven't found much
  807. > connection between morality and reality.  Besides, its not Apple's 
  808. > problem if people pirate (non-apple) software, quite the opposite,
  809. > Apple benifits by this.
  810.  
  811. I agree that piracy is one of the things that made personal computers as
  812. popular as they are.  Almost every _person_ I know who bought a machine for
  813. themselves busted their bank on the machine and ran on pirated software
  814. until they could afford to buy their software.  I personally have used many
  815. pirated programs in order to evaluate them before buying.  It's how I got
  816. to know so much about the machine and the software.
  817.  
  818. PCs sell because you can pirate when you need to.  Getting the work done is
  819. the number one priority, isn't it?  ;)
  820.  
  821. Of course, I must point out that piracy is not a valid long term solution,
  822. for all the obvious reasons.  You don't buy, we don't write.  Piracy as a
  823. full-time policy is a self defeating proposition.  You've got to buy so
  824. that the market works.
  825.  
  826. Jon
  827.  
  828. Squeeking for myself again and trying damn hard to fill my mouth with feet.
  829.  
  830. +++++++++++++++++++++++++++
  831.  
  832. From: noah@apple.com (Noah Price)
  833. Date: 23 Dec 92 19:33:56 GMT
  834. Organization: (not the opinions of) Apple Computer, Inc.
  835.  
  836. In article <peter-211292133304@rocky.curtin.edu.au>,
  837. peter@cujo.curtin.edu.au (Peter N Lewis) wrote:
  838. > Isn't it clear why its not done?  If Apple put a serial number on the 
  839. > machine, and people successfully copy protect their programs, the immediate
  840. > consequence of this is that the value of the machine drops a great deal.
  841. > All those users can't pirate the programs they want, so they stop buying
  842. > the machines, and buy other machines where they can get the programs 
  843. > they want for free.  This may not be moral, but I haven't found much
  844. > connection between morality and reality.  Besides, its not Apple's 
  845. > problem if people pirate (non-apple) software, quite the opposite,
  846. > Apple benifits by this.
  847.  
  848. Sorry to burst your bubble.  As developers who watch the newsletters know,
  849. Apple is quite active in anti-piracy education efforts.
  850.  
  851. People have already talked about why the simple serial number is more
  852. trouble than it's worth for copy-protection (or more accurately, for
  853. execution control).  More advanced devices, yes those ugly dongles, solve
  854. some of these problems by adding some intelligence.  More important, they
  855. can move from machine to machine so you don't have to go through
  856. administrative back-flips when you service, upgrade, or replace a machine. 
  857. Newer ones can even key multiple application, so you don't get a
  858. dongle-tree growing off your keyboard.
  859.  
  860. I personally don't think these should be used at all though, except for
  861. mega-buck vertical market applications, or software sold in countries with
  862. little or no respect (or legal clout) for copyright and piracy protection.
  863.  
  864. noah
  865.  
  866. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  867. noah@apple.com                                 Macintosh Hardware Design
  868. ...!{sun,decwrl}!apple!noah   (not the opinions of) Apple Computer, Inc.
  869.  
  870. +++++++++++++++++++++++++++
  871.  
  872. From: bobert@informix.com (Robert Murphy)
  873. Date: 22 Dec 92 20:33:03 GMT
  874. Organization: Informix Software, Inc.
  875.  
  876. peter@cujo.curtin.edu.au (Peter N Lewis) writes:
  877. >There have actually been a few examples of hardware with serial numbers
  878. >on them, but they've mostly gone out of business now...
  879.  
  880. Actually, most of the dedicated Unix workstations out there - including
  881. Suns, NeXTs, and IBM RS/6000's - have serial numbers in a PROM on the
  882. motherboard.  (We're not talking Macs running A/UX or PClones running
  883. SCO Unix here.)  For more information, log into your nearest such
  884. workstation and type "man hostid" at the shell command prompt.
  885.  
  886. Regards,
  887. Bob Murphy
  888.  
  889. +++++++++++++++++++++++++++
  890.  
  891. From: roy@mchip00.med.nyu.edu (Roy Smith)
  892. Date: 24 Dec 92 01:28:40 GMT
  893. Organization: New York University, School of Medicine
  894.  
  895. bobert@informix.com (Robert Murphy) writes:
  896. > Actually, most of the dedicated Unix workstations out there - including
  897. > Suns, NeXTs, and IBM RS/6000's - have serial numbers in a PROM on the
  898. > motherboard.
  899.  
  900.     Any box that comes with a built-in ethernet port has the moral
  901. equivalent of a machine-readable serial number -- the ethernet 6-byte
  902. hardware address.
  903. - -- 
  904. Roy Smith <roy@nyu.edu>
  905. Hippocrates Project, Department of Microbiology, Coles 202
  906. NYU School of Medicine, 550 First Avenue, New York, NY 10016
  907. "This never happened to Bart Simpson."
  908.  
  909. +++++++++++++++++++++++++++
  910.  
  911. From: freek@phil.ruu.nl (Freek Wiedijk)
  912. Date: 25 Dec 92 17:04:41 GMT
  913. Organization: Department of Philosophy, University of Utrecht, The Netherlands
  914.  
  915. peter@cujo.curtin.edu.au (Peter N Lewis) writes:
  916. >If Apple put a serial number on the 
  917. >machine, and people successfully copy protect their programs, the immediate
  918. >consequence of this is that the value of the machine drops a great deal.
  919. >All those users can't pirate the programs they want, so they stop buying
  920. >the machines, and buy other machines where they can get the programs 
  921. >they want for free.
  922.  
  923. Yes!
  924.  
  925. That's why one of my friends (hi Jos!) bought a 486 machine and
  926. advocated me to do the same (never!).  "Pirating software for it is
  927. much easier because there are far more people to copy software from."
  928.  
  929. Yet another reason why Intel machines are more popular that Macs.
  930. Not only is the hardware cheaper, the software is also cheaper...
  931.  
  932. Freek
  933. - --
  934. Third theory of Phenomenal Dynamics:  The difference between
  935. a symbol and an object is quantitative, not qualitative.
  936.  
  937. +++++++++++++++++++++++++++
  938.  
  939. From: freek@phil.ruu.nl (Freek Wiedijk)
  940. Date: 25 Dec 92 17:11:09 GMT
  941. Organization: Department of Philosophy, University of Utrecht, The Netherlands
  942.  
  943. jpugh@apple.com (Jon Pugh) writes:
  944. >Of course, I must point out that piracy is not a valid long term solution,
  945. >for all the obvious reasons.  You don't buy, we don't write.  Piracy as a
  946. >full-time policy is a self defeating proposition.  You've got to buy so
  947. >that the market works.
  948.  
  949. Pirating business software for home use will obviously not suffer from
  950. this problem.  Anyone want to run Excel on their home machine?
  951.  
  952. Freek
  953. - --
  954. Third theory of Phenomenal Dynamics:  The difference between
  955. a symbol and an object is quantitative, not qualitative.
  956.  
  957. +++++++++++++++++++++++++++
  958.  
  959. From: bobert@informix.com (Robert Murphy)
  960. Date: 23 Dec 92 21:15:03 GMT
  961. Organization: Informix Software, Inc.
  962.  
  963. de19@umail.umd.edu (Dana S Emery) writes:
  964.  
  965. >In article <1992Dec17.105813.18407@jarvis.csri.toronto.edu>,
  966. >ematias@dgp.toronto.edu (Edgar Matias) wrote:
  967.  
  968.     [discussion of serial numbers and copy/execution protection deleted]
  969.  
  970. >OK, now that would either be in a custom chip or in the Roms, but in either
  971. >case it would be WELDED on to the logic board, right?
  972.  
  973. Nope.  It would be in some sort of PROM ("Programmable ROM") chip which
  974. is plugged into a socket, not welded.  The only information recorded in
  975. this PROM chip would be the serial number, which would be recorded into
  976. the chip at the factory.  Presumably Apple would use a type of ROM that's
  977. not erasable or reprogrammable.
  978.  
  979. >Now what happens when a logic board needs service?  Since the board now
  980. >must stay with the machine, you have just forced all apple dealers to
  981. >perform componant level diagnosis and repair, this is a dramatic change
  982. >from present policy, and on which APple is likely to regard as a giant step
  983. >backward.
  984.  
  985. The person servicing the computer pulls the PROM chip out of the socket on
  986. the old motherboard, and puts it in the socket on the new motherboard.
  987.  
  988. >Oh, and just how would one deal with a faulty Rom chip, or a ROM upgrade
  989. >(remember the SCSI problems in the first and second versions of the 128k
  990. >roms?).
  991.  
  992. Since this is on a separate chip from the ROMs you're talking about, it's
  993. not a problem.  I suppose you could get a faulty PROM, but that would be
  994. easily replaceable.
  995.  
  996. There are, by the way, a couple of flaws with this system.  First, if you
  997. wanted to make machine A look like it's machine B, you could crack the
  998. case and swap the serial number PROMs.  This is not really a problem as
  999. far as software publishers are concerned, though, because they mostly are
  1000. concerned about people running multiple copies of their program simultan-
  1001. eously on different machines, and PROM swapping still only lets you run
  1002. the program on one machine at a time.  Second, and more of interest to
  1003. pirates, is the possibility of duplicating the PROM chips.  I'm sure there
  1004. would be ways to prevent this, though, such as adding some extra functionality
  1005. to the PROM chips so that they do more than act as PROMs, and so you
  1006. couldn't just go out and buy blank PROMs and put a serial number in them
  1007. and expect them to work.
  1008.  
  1009. >Dana S Emery <de19@umail.umd.edu>
  1010.  
  1011. Bob Murphy
  1012. bobert@informix.com
  1013.  
  1014. P.S.  I've had to think about this stuff a lot because in the last four
  1015. years, I've written execution control code for several programs on Macs and
  1016. DOS machines using three different kinds of dongles from two different
  1017. manufacturers, and I am talking to two potential clients about doing the
  1018. same thing for them.  (For those unfamiliar, a "dongle", or "hardware lock",
  1019. is a device that you attach to some port on a computer, typically ADB on
  1020. the Mac or a parallel port on DOS.  When a protected program is running,
  1021. it can find out if the dongle is attached to the computer it's running on,
  1022. and refuse to execute if the dongle is missing.  You can copy such programs
  1023. onto 4,000,000 floppies if you want, but they'll only RUN on a computer with
  1024. the correct dongle attached.  That's why it's called "execution control",
  1025. not "copy protection".)  By the way, none of these programs have been the
  1026. sort of thing college students would likely want to pirate; rather, they've
  1027. been vertical market applications in the $3,000-$15,000 price range that
  1028. are aimed at corporations with enough money that they shouldn't need to
  1029. pirate software - but nonetheless, some of them have tried...
  1030.  
  1031. +++++++++++++++++++++++++++
  1032.  
  1033. From: peirce@outpost.SF-Bay.org (Michael Peirce)
  1034. Date: 25 Dec 92 00:00:36 GMT
  1035. Organization: Peirce Software
  1036.  
  1037.  
  1038. In article <01050023.lbu8j5@chinchilla.cars.com> (comp.sys.mac.programmer), niel@cars.com (Niel Bornstein) writes:
  1039. > In article <9235010.4295@mulga.cs.mu.OZ.AU> (comp.sys.mac.programmer), mtc@mundil.cs.mu.OZ.AU (Michael Trevor CUTTER) writes:
  1040. > >We are looking for a way to uniquely identify a Mac, probably one on a network,
  1041. > >but not necessarily. Is the serial number or similar available somewhere in the
  1042. > >ROMs or parameter RAM? (Highly unlikely, I know - specially since PRAM can be
  1043. > >reset)
  1044. > How about the AppleTalk address?  I know, they are assigned dynamically,
  1045. > but if the network is mature it will stabilize.  Are machines being
  1046. > added to or taken off the network a lot?  
  1047.  
  1048. If you have PowerBook users, there very well may be many machines
  1049. coming and going from your network on a regular basis.  
  1050.  
  1051. You might take the approach that Apple used with Aliases.  They store
  1052. a number of tidbits of information when trying to track a file (things
  1053. like name, location on a volume, create date, etc) and use a number
  1054. of rules to figure out if that file out there that looks like the
  1055. one we want is *really* it.
  1056.  
  1057. You might use something like a combination of AppleTalk address, user
  1058. name, machine name, machine type, boot volume create date, etc.
  1059.  
  1060. Then you use some rules like:
  1061.  
  1062. (1) if only AT address changed, figure it's the same machine as yesterday.
  1063. (2) if only user name changed, figure it's the same machine asas yesterday. 
  1064. (3) if only the boot volume create date changed,  figure it's the same machine as yesterday.
  1065. (4) etc.
  1066.  
  1067. If you are careful in how you choose these variables and rules you
  1068. will probably do OK.  You still may want to through up your hands
  1069. every now and ask the user (as they do with Aliases).
  1070.  
  1071. Good luck...
  1072.  
  1073. - --  Michael Peirce      --   peirce@outpost.SF-Bay.org
  1074. - --  Peirce Software     --   Suite 301, 719 Hibiscus Place
  1075. - --                      --   San Jose, California USA 95117
  1076. - --  Drop by booth #4463 --   voice: (408) 244-6554 fax: (408) 244-6882
  1077. - --  at MacWorld Expo/SF --   AppleLink: peirce & America Online: AFC Peirce
  1078.  
  1079. +++++++++++++++++++++++++++
  1080.  
  1081. From: flash@austin.lockheed.com (James W. Melton)
  1082. Date: 29 Dec 92 07:06:30 GMT
  1083. Organization: "Lockheed Austin Division, 6800 Burleson Rd, Austin, TX 78744
  1084.  
  1085. In article <1hb3o8INNt5h@calvin.NYU.EDU> roy@mchip00.med.nyu.edu (Roy Smith) writes:
  1086. >
  1087. >    Any box that comes with a built-in ethernet port has the moral
  1088. >equivalent of a machine-readable serial number -- the ethernet 6-byte
  1089. >hardware address.
  1090.  
  1091. I have bad news for you: The ethernet address is set in software.
  1092. The high-order portion of the address is supposed to reflect the
  1093. manufacturer, and the low-order portion is supposed to be machine
  1094. unique (a serial number), but this is not accomplished in hardware
  1095. NECESSARILY.
  1096.  
  1097. There is NO fool-proof method of machine identification short of
  1098. the ubiquitous "dongle" method. 
  1099.  
  1100. "Build a system even a fool can use, and only a fool will use it."
  1101.  
  1102. +++++++++++++++++++++++++++
  1103.  
  1104. From: bobert@informix.com (Robert Murphy)
  1105. Date: 29 Dec 92 22:23:02 GMT
  1106. Organization: Informix Software, Inc.
  1107.  
  1108. niel@cars.com (Niel Bornstein) writes:
  1109.  
  1110.  
  1111. >In article <9235010.4295@mulga.cs.mu.OZ.AU> (comp.sys.mac.programmer), mtc@mundil.cs.mu.OZ.AU (Michael Trevor CUTTER) writes:
  1112. >>We are looking for a way to uniquely identify a Mac, probably one on a network,
  1113. >>but not necessarily. Is the serial number or similar available somewhere in the
  1114. >>ROMs or parameter RAM? (Highly unlikely, I know - specially since PRAM can be
  1115. >>reset)
  1116.  
  1117.  
  1118. >How about the AppleTalk address?  I know, they are assigned dynamically,
  1119. >but if the network is mature it will stabilize.  Are machines being
  1120. >added to or taken off the network a lot?  
  1121.  
  1122. A Mac's AppleTalk address can potentially change every time the machine is
  1123. booted.
  1124.  
  1125. >Or if it's a TCP/IP network, there's the IP address.
  1126.  
  1127. If you're serious about uniquely identifying the Mac (e.g. tying program
  1128. execution to a particular Mac), this is a very ineffective way of doing
  1129. it.  All you have to do is change the IP address of the Mac.  If it would
  1130. conflict with another Mac on the network, pull your Mac off the network.
  1131.  
  1132. A client of mine has a product with execution control tied to an IP
  1133. address.  (This is on a Sun, by the way.)  You get the program, call in
  1134. with the invoice number and IP number, and get an authorization code.
  1135. At one of their customers, somebody called in with IP number
  1136. 129.blah.blah.blah and got an auth code.  Then somebody else called in
  1137. with the same invoice number and a different IP number.  Big fireworks!  
  1138. "Why, 129.blah.blah.blah isn't even on our network!"  Turned out it was
  1139. one of IP numbers you get on out-of-the-box Suns.  As best as they can
  1140. tell, somebody intercepted the software in the customer's mailroom, called
  1141. and got the auth code, and then put the software back in the mailroom.
  1142. The pirate can run their Sun normally on the company's network, and when
  1143. they want to run this software, they unhook the ethernet connector,
  1144. change the IP number, and reboot the Sun.  My client got ripped off for
  1145. a $10,000 software package.
  1146.  
  1147. Needless to say, this client has changed his procedure for issuing auth
  1148. codes.
  1149.  
  1150. Regards,
  1151. Bob Murphy
  1152.  
  1153. +++++++++++++++++++++++++++
  1154.  
  1155. From: noah@apple.com (Noah Price)
  1156. Date: 4 Jan 93 18:23:50 GMT
  1157. Organization: (not the opinions of) Apple Computer, Inc.
  1158.  
  1159. In article <1458@shrike.com>, flash@austin.lockheed.com (James W. Melton)
  1160. wrote:
  1161. > In article <1hb3o8INNt5h@calvin.NYU.EDU> roy@mchip00.med.nyu.edu (Roy Smith) writes:
  1162. > >    Any box that comes with a built-in ethernet port has the moral
  1163. > >equivalent of a machine-readable serial number -- the ethernet 6-byte
  1164. > >hardware address.
  1165. > I have bad news for you: The ethernet address is set in software.
  1166. > The high-order portion of the address is supposed to reflect the
  1167. > manufacturer, and the low-order portion is supposed to be machine
  1168. > unique (a serial number), but this is not accomplished in hardware
  1169. > NECESSARILY.
  1170.  
  1171. I know "any box" wasn't limited to a Macintosh, but all the Macs with
  1172. on-board ethernet have a unique address in a PROM.
  1173.  
  1174. noah
  1175.  
  1176. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1177. noah@apple.com                                 Macintosh Hardware Design
  1178. ...!{sun,decwrl}!apple!noah   (not the opinions of) Apple Computer, Inc.
  1179.  
  1180. +++++++++++++++++++++++++++
  1181.  
  1182. From: fprefect@engin.umich.edu (Matt Slot)
  1183. Date: 6 Jan 93 00:50:12 GMT
  1184. Organization: University of Michigan, CAEN
  1185.  
  1186. If you need to do this from an application, there are several tricks you
  1187. can try. Use  TickCount() to get a long, try Random() (one in 4 billion
  1188. chance of duplication), or the
  1189. initialization time of the Boot volume.
  1190.  
  1191. Not foolproof, but pretty good.
  1192.  
  1193. Matt
  1194.  
  1195. ---------------------------
  1196.  
  1197. End of C.S.M.P. Digest
  1198. **********************
  1199.