Ask HN: How to Learn to code securely?

1 points by sneakpeek ↗ HN
Ask HN: I picked up a coworker's book today - Writing Secure Code by David LeBlanc and Michael Howard. I immediately went to a chapter on buffer overruns because I've always heard this is a major source for security issues, but never knew why. I was surprised and pleased when the authors immediately showed code examples in C of how to exploit buffer overruns. I liked being able to see a concrete example of why certain code is a security risk. What are some good [introductory] book(s) that give concrete examples of vulnerable code?

1 comment

[ 3.6 ms ] story [ 10.5 ms ] thread
Code Complete 2. It is really heavy book, they called it programmers' Bible.