[go: up one dir, main page]

Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The article misstates what 'sanitizing inputs' means.

I agree with posters who recommend passing data as parameters to methods that don't require sanitized input (e.g. stored procedures or KeyValue APIs).

Also, sanitizing input means transforming input so you retain the original content, but without escape or control characters. Sanitizing input does not mean throwing part of the input away (except when you know it is meaningless in your context, e.g. spaces at the end of a name).



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

Search: