News Feed
Sections




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

Zend Developer Zone:
Security Tip Use a Database Abstraction Layer to help prevent SQL Injection
April 11, 2007 @ 11:39:00

Matthew Weir O'Phinney has posted one of his own security tips to the Zend Developer Zone today involving the use of a database abstraction layer to help prevent SQL injections in your application.

SQL injections are a common vulnerability in web-based applications that use databases. [...] There are several methods to prevent this type of attack.

He gives three helpful hints for SQL injection prevention:

  • Use your database extension's quoting mechanism to quote values prior to executing a query
  • Use PDO's prepared statements support
  • Use a database abstraction layer (DAL), such as AdoDB, PEAR::MDB2, or Zend_Db.

0 comments voice your opinion now!
securitytip sqlinjection prevent database abstraction layer securitytip sqlinjection prevent database abstraction layer


blog comments powered by Disqus

Similar Posts

Jim Plush's Blog: Why Your PHP app NEEDS a Circuit Breaker

Stefan Mischook's Blog: Database driven websites article: updated and now in PDF format.

Derick Rethans: Introduction to Document Databases with MongoDB

Tim Koschuetzki's Blog: How to put Combined Fields Into CakePHP's Model->generateList()

Christopher Jones' Blog: Installing Oracle XE on Ubuntu with PHP


Community Events





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


community introduction laravel wordpress code threedevsandamaybe list application install release configure series developer api unittest language library interview bugfix podcast

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