preventing XSS attacks

XSS is popular technique that gained a lot of interest since last three years. I think that this technique uses vulnerabilities that are know for much longer than 3 years, but now it has it’s own 5 minutes 🙂 To learn something more about it and ways to prevent from it I’d selected few articles. I hope they’ll give you more insight view in the matter.

Good XSS faq:
http://www.cgisecurity.com/xss-faq.html
And basic information about it as usually available on Wikipedia:
http://en.wikipedia.org/wiki/Cross-site_scripting

Preventing XSS on your site:
Theoretical approach:
http://www.applicure.com/solutions/prevent-cross-site-scripting-attacks
and practical ones:
http://tldp.org/HOWTO/Secure-Programs-HOWTO/cross-site-malicious-content.html
http://www.webmaster-talk.com/php-forum/47587-tip-prevent-xss-attacks.html

Cheers,
JK