Chapter 5. Programming Secure E-Commerce Applications

In This Chapter

  • Getting your database secure

  • Using the Secure Sockets Layer to encrypt your data

  • Making sessions secure

  • Preventing cross-site scripting

  • Keeping your technologies up to date

E-commerce applications require you to think a bit harder about security than other types of applications. If you inadvertently leave a security hole in a blogging application, your worst-case scenario involves your server becoming a spammer's playground. It's not pleasant, but it's not the end of the world, either. However, if your e-commerce application is compromised, you expose your customers to the risk of credit card fraud and identity theft. When you enter the world of e-commerce, you're dealing with a whole new level of security.

This chapter covers the basic security concepts that you need to understand before writing an e-commerce application.

Get PHP & MySQL® Web Development All-in-One Desk Reference for Dummies® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.