Have you read a book on web application security that could serve as a solid introduction to the subject for beginning web programmers?
So far I've found the following canditates, but none of them seem to be suitable for beginners (I haven't read any of these, this is just my impression from what is available on the web):
- Stuttard, Pinto (2007): The Web Application Hackers Handbook
- Hope, Walther (2009): Web Security Testing Cookbook
- Wells (2007): Securing Ajax Applications
- The OWASP Top 10, 2007 version
- McLure, Shah, Shah (2002): Web Hacking: Attacks and Defense ('Hacking Exposed' Series)
Background: I try to teach basic security in my PHP class. I show some examples of SQL Injection and Cross Site Scripting and then spend a lot of time on prepared statements and Escaping. My lecture notes are in german only.
Question inspired in part by this one
Similar Questions: general security, .NET security, Security+forensics