Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anyway to prevent user from changing system time/date?
Message
De
08/12/2003 20:22:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
08/12/2003 20:19:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00857033
Message ID:
00857034
Vues:
22
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform