Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyway to prevent user from changing system time/date?
Message
From
08/12/2003 20:22:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
08/12/2003 20:19:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00857033
Message ID:
00857034
Views:
23
>Hi All,
>
>Is there any way to prevent users from changing system date and time?
>
>This would be useful to prevent unscrupulous guys from altering it before recording his TIME IN on a bundy clock app, making it appear that he was on time.
>
>TIA,
>
>Dennis

Check the time on a server, as part of the record-updating procedure.

To do this, just create an empty file on the server, and check its date-time. This will be the date-time on the server, not the date-time on the local machine. If the discrepancy is more than "x" minutes, ask the user to correct the local clock.

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform