3 ms·
The same rules still apply no matter how much code is in the front end: Never trust the client.
by wvenable 15y ago
The same rules still apply no matter how much code is in the front end: Never trust the client.
- madanosliw 15y agoIndeed, for callbacks and such I find it good to just think of the web browser as just another web service client calling an API: that's where you draw your line of trust (your own code running in your own environment).
- adyus 15y agoThat's actually a great way to begin building a system: consider the browser as another API client. It's sort of the Twitter way, I guess.