This chapter contains most of the original text, although with a few tweaks. There are two big additions which I did not cover in the first edition of this book.
I added a section on security with the DBI module and SQL injection. I don’t really think it belongs in this book any more than any other sort of problem with a CPAN module, but enough people complained that I relented.
And, I added a brief introduction to the Safe module. This is a rarely used security feature that you might find useful if you have to use string eval
.
I’ve added some of the sample programs to the downloads page.
You can read the draft chapter now.
If you don’t already cover it, a discussion of Safe might be good in this chapter. Running untrusted code is pretty rare though.
And I’m sure you already cover taint mode. I should probably read that part myself. Time to buy a new book :)
Good idea, and so I have done that. You can check out the draft chapter of “Secure Programming Techniques” with the new Safe additions.