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

Inviqa techPortal: Speedy Sites: Nginx and PHP

Till Klampaeckel: Continuous Integration: Automated database setup with Doctrine on Travis-CI

Stuart Herbert's Blog: ContractLib - An Introduction & Comparing it to PHP's Assert

The Bakery: New Tutorials - PHPTAL, Multiple Checkboxes, and counterCache

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


Community Events





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


language release framework series voicesoftheelephpant composer api podcast conference unittest list community introduction configure threedevsandamaybe symfony version laravel opinion interview

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