4 ms·
Client side validation is good for speed, however should not be trusted when sent to server. Server side validation is for validating such information to preven
by Joakal 15y ago
Client side validation is good for speed, however should not be trusted when sent to server. Server side validation is for validating such information to prevent issues. eg SQL injections.
- deno 15y agoBut you can't trust client-side validation, unless you run the client in a DRM container (client then can just sign the request and you can assume that it executed in a secure memory, unaltered).