I have a timer on the site which the user will only be able to click on every * seconds/minutes/hours. Every user has a timer value in the users table where the values are written and read. The value in the database is the amount of seconds that the user will have to wait.
I've figured out how to make the timer countdown from the correct value in the sql database but I have yet to figure out how to make it servside secure.
What would be the most effective way to detect when clicking to early?