Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyway to prevent user from changing system time/date?
Message
From
12/12/2003 18:18:55
 
 
To
10/12/2003 03:20:45
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00857033
Message ID:
00858825
Views:
25
Cetin,

>Once VFP launched any changes in time are not reflected in seconds(). sys(2) reflects them. So comparing the 2 you could say that time was set back (or forth) and act accordingly. You could silently set the system time with winAPI.

You are right about SECONDS() not changing when system time is changed. However, if the app is closed and run again, SECONDS() then follows the system time at the instance.


>However if time was gotten back before VFP's launch there is nothing you can do about it. On a standalone PC (really standalone) with an OS like win9x there is no bulletproof prevention of playing with the clock. You might enforce the policies but a clever user knows he doesn't need the windows to change the time (actually in NT,XP too it's easy to change the time no matter how much strict policies exist).

Am very curious on what you said about being easy to change system time even under XP/NT, if I restrict Change System Time policy and put a password on the CMOS bootup, how else can one change time?

Thanks
Dennis
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform