Hacker News new | past | comments | ask | show | jobs | submit login

This technique is client-side data only, so updating a client-side state would only appear to revert your bank balance on the UI, but wouldn’t trigger any server-side functions to do so.

If you sent the client state to the server for some type of CRUD action or persistence, you’d need to sanitize and validate it first. And at that point like you said, why not just keep the state secure server-side and not trust the client.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: