13.09.2016 Views

PHP and MySQL Web Development 4th Ed-tqw-_darksiderg

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

16<br />

<strong>Web</strong> Application Security<br />

IN THIS CHAPTER WE CONTINUE THE TASK of looking at application security, looking at<br />

the broader theme of securing our entire web application. Indeed, every single part of<br />

our web applications will need to be secured from possible misuse (accidental or intentional),<br />

<strong>and</strong> we will want to develop some strategies to developing our application that<br />

will help us stay secure.<br />

Key topics covered in this chapter include<br />

n Strategies for dealing with security<br />

n Identifying the threats we face<br />

n Underst<strong>and</strong>ing who we’re dealing with<br />

n Securing your code<br />

n Securing your web server <strong>and</strong> <strong>PHP</strong><br />

n Database server security<br />

n Protecting the network<br />

n Disaster planning<br />

Strategies for Dealing with Security<br />

One of the greatest features of the Internet—the openness <strong>and</strong> accessibility of all<br />

machines to each other—also turns out to be one of the biggest headaches that you as a<br />

web application author have to face.With so many computers out there, the users of<br />

some are bound to have less than noble intentions.With all this danger swirling around<br />

us, it can be intimidating to think about exposing a web application dealing with potentially<br />

confidential information such as credit card numbers, bank account information, or<br />

health records to the global network. But business must go on, <strong>and</strong> we as the authors<br />

must look beyond simply securing the e-commerce portions of our application, <strong>and</strong><br />

develop an approach to planning for <strong>and</strong> dealing with security.The key is to find one

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!