2 ms·
The problems are to a) get to the point when all your input is validated and b) stay there. It's easy to validate some data, it's horribly difficult to validate
by dozzie 10y ago
The problems are to a) get to the point when all your input is validated and
b) stay there. It's easy to validate some data, it's horribly difficult to
validate it all (or rather, it's horribly easy to forget something).
Exactly the same could be said about SQL injection, and its solution is
prepared queries with value placeholders, which is an idea over a dozen years
old. Apparently MongoDB has not caught up yet with SQL from decade ago.