If the Notification Manager is present is can be set to broadcasts the
sysNotifyTimeChangeEvent to your program, which will allow you to keep track
of how much time has really elapsed..

(see the notification manager info in the Palm Reference & Companion)

- Thomas Anderson

-----Original Message-----
From: Roger Chaplin [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 27, 2000 9:43 AM
To: Palm Developer Forum
Subject: Re: Disabling ability to change time of day


"Trela, Ted" <[EMAIL PROTECTED]> wrote:

> Does anyone know of a method or an existing hack to disable the users
> ability to change the time of day? I need to collect time critical user
> events and would like to prevent the ability to spoof the software via
> changing the time.

You could patch the TimSetSeconds trap to do nothing.

But how secure do you need this to be? If you patch using a HackMaster 
hack, the user could simply disable the hack. You could have your own 
app patch that trap, but you need to be aware that a reset restores the 
original trap table, thus undoing your patch. You could handle the 
reset launch code and re-patch the trap there, but then users could do 
a "no-reset-notify" reset (holding down the hardware UP button while 
doing the reset).

The bottom line is, there doesn't seem to be any foolproof way to void 
capabilities that are provided in the Palm ROM applications (such as 
changing time in Preferences).

--
Roger Chaplin
<[EMAIL PROTECTED]>

-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to