Tagged Questions
4
votes
5answers
985 views
XSS : Blacklist characters vs. whitelist
I have been studying to prevent my web app against XSS.
I read about it on OWASP and other security channels, they all say that use ESAPI and similar library, and also do input filtering through ...
4
votes
6answers
600 views
Filter user input before the database or upon display?
Given a web application where user data must be properly escaped to avoid XSS, is it better to try to remove the "bad stuff" before it enters the database, or is it best to allow it in the database ...