Hacker News new | past | comments | ask | show | jobs | submit login

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?



You see how we're converging on "just use proper input validation", which is the all-time least useful piece of advice in software security?


Because 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: