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