If you think this is a bad example, write a response post on your own blog explaining how to secure the tutorial code given here.

Bashing an author without contributing something of value is just sad.