• 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: Protecting Software w/ Software License Keys...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Protecting Software w/ Software License Keys...


  • Subject: Re: Protecting Software w/ Software License Keys...
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 18 Jun 2002 16:02:00 +0200

On Tuesday, June 18, 2002, at 03:22 , Joe Morris wrote:

I was thinking a good way to do this would be to base it on the user's username. That way other people could copy it relatively easily, but they'd have to create a new account with that username and switch to that to use it, which would be as deterring as anything is likely to get. :-)

It would also be a royal pain in the ass, since normally you use your applications from at least three different accounts (well, at least, I do,
and all other Mac OS X users I know well enough to know their workflow do too): normal working account, admin account, root account.

Anyone know off the top of their head how to get the current user's username progromatically?

NSUserName(), NSFullUserName(). Though for reasons stated above I do *very*
strongly discommend using that for licensing.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Protecting Software w/ Software License Keys...
      • From: Calum Robinson <email@hidden>
References: 
 >Re: Protecting Software w/ Software License Keys... (From: Joe Morris <email@hidden>)

  • Prev by Date: Signal 11 (SIGSEGV)
  • Next by Date: Re: Protecting Software w/ Software License Keys...
  • Previous by thread: Re: Protecting Software w/ Software License Keys...
  • Next by thread: Re: Protecting Software w/ Software License Keys...
  • Index(es):
    • Date
    • Thread