home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 13048 < prev    next >
Encoding:
Text File  |  1992-07-27  |  2.3 KB  |  46 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!munnari.oz.au!uniwa!cujo!NewsWatcher
  3. From: peter@cujo.curtin.edu.au (Peter N Lewis)
  4. Subject: Re: how to put indelible serial# in resource fork of app?
  5. Message-ID: <peter-270792165326@134.7.50.3>
  6. Followup-To: comp.sys.mac.programmer
  7. Sender: news@cujo.curtin.edu.au (News Manager)
  8. Organization: NCRPDA, Curtin University
  9. References: <Jul.20.17.18.21.1992.16265@gandalf.rutgers.edu> <D88-JWA.92Jul23232829@dront.nada.kth.se>
  10. Date: Mon, 27 Jul 1992 09:02:36 GMT
  11. Lines: 33
  12.  
  13. In article <D88-JWA.92Jul23232829@dront.nada.kth.se>,
  14. d88-jwa@dront.nada.kth.se (Jon W{tte) wrote:
  15.  
  16. >    A good way to keep users from running software from servers is to disable
  17. >    the capability completely.  When an application is started, doing a
  18. >    GetVol(  volumeName, &fVRefNum); when the app launches retrieves the
  19. >    volume reference.  Use the following routine to determine if a vol ref is
  20. >    a network volume.
  21. > Do you think users with System 7 file sharing would
  22. > ever consider buying your program ?
  23.  
  24. I hate to inject some actual technical information in here, especially when
  25. you are refuting an argument that actually suggests programs should
  26. disallow themselves to be run from a server (the stupidest thing I've heard
  27. in a long while, practically every program we have hear we have a single
  28. user license and a single copy on the server with the shared bit off so
  29. only one user can use it at a time), BUT, even under System 7 with file
  30. sharing turned on, the local volumes still have a 0 in the server address
  31. field.  It's most annoying really - does anyone know how to get the
  32. FileSharing port number for the local machine, the only way I've found to
  33. do it is either an PConfirmName('=:AFPServer@*') to this machine (which I
  34. think should actually fail because meta chars are not allowed in
  35. PConfirmName, but seems to work anyway), or NBPLookup('=:AFPServer@*') and
  36. then search thru for the local machine's net/node number.
  37.  
  38. Have fun all, and don't expect me to pay for (and hence use) any app I
  39. can't use from my server - it'll go straight back for a refund.
  40.    Peter.
  41.  
  42. _______________________________________________________________________
  43. Peter N Lewis, NCRPDA, Curtin University       peter@cujo.curtin.edu.au
  44. GPO Box U1987, Perth WA 6001, AUSTRALIA             FAX: +61 9 367 8141
  45.