• 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: time-based beta termination system
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: time-based beta termination system


  • Subject: Re: time-based beta termination system
  • From: Trygve Inda <email@hidden>
  • Date: Thu, 24 Jul 2003 10:02:42 +0200

> On Wednesday, July 23, 2003, at 11:54 PM, M. Uli Kusterer wrote:
>
>> At 17:26 Uhr -0700 23.07.2003, Francisco Tolmasky wrote:
>>> Anybody know a good reliable way to make betas terminate/stop working
>>> after x amount of days or after some date? I'd like something more
>>> reliable than just checking the date and thus not working if someone
>>> sets their clocks backwards.
>>
>> I don't think there's a real way around that. You could of course save
>> the last date your app was run somewhere (invisible Prefs file?) and
>> refuse to launch if the current date is before that (but don't say
>> "you're trying to hack me!" to the user ... that'll only invite the
>> hackers to try harder -- better just show the same "expired" message).
>>
>
> If you're network connected, why not try to contact a network time
> server? If that fails (no network or some other connection error),
> then check the system clock?

You could also check the last modified date of the User Preferences folder
to see if it makes vis-a-vis the system clock. To allow for time zone
changes you can verify the delta is < 24 hours.

Trygve
_______________________________________________
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.

References: 
 >Re: time-based beta termination system (From: Thomas Finley <email@hidden>)

  • Prev by Date: Re: Design for Cocoa (was Re: Can a subclass of NSDictionary do this?)
  • Next by Date: InterfaceBuilder and control coordonates....
  • Previous by thread: Re: time-based beta termination system
  • Next by thread: Re: time-based beta termination system
  • Index(es):
    • Date
    • Thread