3 ms·
How about "only pass user-sourced data in parameters"? So anything that isn't a parameter is coming from the app, possibly as a response to user data, but not
by Dylan16807 16y ago
How about "only pass user-sourced data in parameters"? So anything that isn't a parameter is coming from the app, possibly as a response to user data, but not actually from user data. This statement seems just as powerful as the original. Anything misleading about it? Somewhere you can't use parameters and can't simply use app-supplied query pieces?
- tptacek 16y agoYou see how we're converging on "just use proper input validation", which is the all-time least useful piece of advice in software security?
- Dylan16807 16y agoBecause input validation is hard to do. A rule to not pass input EVER (outside of parameters), even in a supposedly validated form, is something different.