3 ms·
You make your webpage have all logic client-side, and use standardized serverside API's (for example google datastore, or amazon s3). Do not run any of your ow
by londons_explore 6y ago
You make your webpage have all logic client-side, and use standardized serverside API's (for example google datastore, or amazon s3).
Do not run any of your own application logic on the server - your javascript client should talk to the standardized datastore directly.
Then your users can see all the logic on their side, and inspect all the data, and if they want they can host the client side stuff themselves and run their own server.
- bhandziuk 6y agoThis doesn't seem sustainable either though. Isn't server-side code required to ensure the data you're getting from the client is legit. You can't do everything client side especially because not everything can be done in javascript.
- londons_explore 6y ago> Isn't server-side code required to ensure the data you're getting from the client is legit. In this model, the client must validate the data before it puts it into the data store, and again when it gets it out of the data store (since the data could have been put there by a malicious/modified client)