News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
PHP Programs to Prevent MySQL Injection or HTML Form Abuse
January 07, 2009 @ 11:13:41

On DevShed today there's a new tutorial looking at a method for protecting your application (your MySQL/PHP application) forms from malicious attacks like SQL injections.

It has been known for a while that if a form is unsecured, malicious code in the form of MySQL injection will be initiated to attack the site. HTML forms such as drop down menus, search box, check boxes are all susceptible entry points of this type of abuse. This article will explain what happens in this kind of attack, and how to prevent it.

They compare unvalidated input with a validated method that uses some simple checks to ensure that the given content is numeric and regular expressions to match text.

0 comments voice your opinion now!
tutorial form abuse security regular expression validate


blog comments powered by Disqus

Similar Posts

SitePoint.com: Advanced PHPUnit Testing: Annotations and Mocking

The Bakery: Three New Components/Tutorials - Lightroom, DboSource & SMF

Chris Shiflett's Blog: Character Encoding and XSS

DevShed: Creating a MySQL Abstraction Layer with Bridge Classes in PHP 5

PHPMaster.com: Decoupling Interfaces from Implementation - Using Separated Interfaces


Community Events





Don't see your event here?
Let us know!


introduction install language version release symfony library tool podcast security community package update voicesoftheelephpant opinion composer interview framework series laravel

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework