TRPC Server Side verification of action.
I have a button that can only be pressed once a day (as a vote). I've made it so the button turns to
I've read previously never trust the client, so are there any additional steps/best practices I should take in order to stop abuse?
My mind leads towards doing a check query whenever a button press is handled, but unsure.
disabled when a vote has already been processed, or a click for the day.I've read previously never trust the client, so are there any additional steps/best practices I should take in order to stop abuse?
My mind leads towards doing a check query whenever a button press is handled, but unsure.
