Preventing SQL Injection

  • Chris Snyder
  • Thomas Myer
  • Michael Southwell

Abstract

We began Part 2 with a discussion in Chapter 2 of keeping your PHP scripts secure by careful validation of user input. We continue that discussion here, focusing on user input that participates in your scripts’ interaction with your databases. Your data is, after all, probably your most treasured resource. Your primary goal in writing scripts to access that data should be to protect your users’ data at all costs. In this chapter, we’ll show you ways to use PHP to do that.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Chris Snyder, Thomas Myer, and Michael Southwell 2010

Authors and Affiliations

  • Chris Snyder
  • Thomas Myer
  • Michael Southwell

There are no affiliations available

Personalised recommendations