Enforcing time-limit on the client
Suppose you have a web application and you want to user to execute a particular action (e.g., answering a quiz question) within a specific time limit. What is the best way to enforce the time limit? I can think of two, with pros and cons:

- client-side enforcement: works but susceptible to tampering
- server-side enforcement: cannot be tampered with but may cause problems due to latency between server and client

any thoughts?
Enforcing time-limit on the client
===

Suppose you have a web application and you want to user to execute a particular action (e.g., answering a quiz question) within a specific time limit. What is the best way to enforce the time limit? I can think of two, with pros and cons:

- client-side enforcement: works but susceptible to tampering
- server-side enforcement: cannot be tampered with but may cause problems due to latency between server and client

any thoughts?