News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
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



Similar Posts

PHPBuilder.com: Creating an Online Survey - Part 2

Marco Tabini's Blog: 5 PHP Performance Tips You Probably Don't Want To Hear

Zend Developer Zone: YAMMY!: DB to YAML conversion shell for CakePHP migrations

JSLabs Blog: An ftp server written in PHP

Xaprb's Blog: Four types of database abstraction layers


Community Events







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


zend releases conference package release ajax security code example database cakephp mysql zendframework PHP5 developer application framework PEAR job book

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