485
Single-Page Application
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
As an elder developer... yea, we could use react to render complex web pages that erode expected functionality.
Or, like, I'm happy to just go back to server-side rendering... it's surprisingly cheap to build and dead fucking simple.
More Server side logic means more vulnerabilities on your end.
I've seen front ends that build queries that are blindly executed by the backend - I've seen GraphQL that allows the client to read arbitrary users' passwords from the database - I've seen attack ships on fire off the shoulder of ori- whoops, wrong memory.
Anyways, you can create vulnerabilities anywhere using anything - imo more server side logic might mean more vulnerabilities on the server but it means less vulnerabilities overall.
Why does it mean less vulnerabilities overall?