News for hackers. Stuff that matters.
Re:XSS Prevention Cheat Sheet by Xurinos on Wednesday January 26, 2011 @05:10PM (#2145428)
> escape data to prevent it from being interpreted as code

What about too much data? Overflow is a concern, too. Escaping is just one solution, so I shot for the more general rule.

Re:XSS Prevention Cheat Sheet by pornel on Wednesday January 26, 2011 @05:42PM (#2145583)
> What about too much data? Overflow is a concern

Buffers are not supposed to overflow with trusted data either, so again, security is subset of correctness. "Not trusting" data only prevents exploit from reaching vulnerable code, it doesn't fix the vulnerability.

Don't write web applications C? ;)