|
|
|
|
|
by lomnakkus
3290 days ago
|
|
> As long as the data is sanitized before it can affect the storage/transport mechanism for its content type, you're good. No, not really. Storing the user's data as is is almost always of paramount importance. The fact that it may be output as HTML/XML/MarkDown/whatever means that it really is at output-time that you must sanitize/escape/quote. That's why the moral of the Bobby Tables story isn't: "Oh, just remove all semicolons". It's "use prepared queries". |
|
Sometimes, data really does need to be sanitized at the point of submission. If you disagree, that's more of a point about application design than appsec.