Re: Preventing SQL Injection/ Cross Site Scripting
| From: | tedd | Date: | Sat, 21 Apr 2007 14:11:22 +0000 |
| Subject: | Re: Preventing SQL Injection/ Cross Site Scripting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253431@lists.php.net to get a copy of this message | ||
At 4:08 AM +0300 4/21/07, Dotan Cohen wrote:
I've got a comments form that I'd like to harden against SQL Injection / XSS attacks. The data is stored in UTF-8 in a mysql database. I currently parse the data as such:I highly recommend "Essential PHP Security" by Chris Shiflett -- he covers those issues and more in detail. It's well worth the cost and you can get it used for as little $12.81. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com