12 Security Methods

The security of your Web applications is such an important topic that it really cannot be overstressed. Although security-related issues have been mentioned throughout this book, this chapter will help to fill in certain gaps and finalize other points.

The most important concept to understand about security is that it’s not a binary state: don’t think of a Web site or script as being either secure or not secure. Security isn’t a switch that you turn on and off; it’s a scale that you can move up and down. When you program, think about what you can do to make your site more secure and what you’ve done that makes it less secure. Also, keep in mind that improved security normally comes at a cost of convenience (both to you, ...

Get PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.