CHAPTER 12

image

Password Protection

One of the last things you need to do before you can call your blog “web-ready” is to hide the administration module from users who aren’t authorized to see it. In this chapter, you’ll learn how to build a system that lets you create new administrators and require administrators to log in with a password before they can create, edit, and delete entries on the blog. Creating this system requires that you perform the following tasks:

  • Create an admin table in the simple_blog database
  • Use one-way encryption of passwords
  • Create an HTML form for creating new administrators
  • Insert one or more administrators into the admin ...

Get PHP for Absolute Beginners 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.