From the course: PHP with MySQL Essential Training: 2 Build a CMS
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
User authentication overview
From the course: PHP with MySQL Essential Training: 2 Build a CMS
User authentication overview
- [Instructor] In this chapter, we will learn how to regulate access to certain pages by requiring that a user first provide a username and a password. This process is called user authentication because we're verifying the identity of a user. An authentic user should know the username and the password. Let's begin by getting an overview of user authentication. User authentication is essential in any modern web application because they almost always have some kind of password protected area. Maybe it's a content management system where staff or admins are able to update content that the public sees. That's the case in our application that we're building. Or it might be that there's a VIP area or a member only area, an area dedicated to certain customers or to paying users. In all those cases, we would want to protect those pages so that you have to have a username and password to be able to see the content that's there. And it's important to do it right because if we don't, if we make…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
User authentication overview5m 11s
-
(Locked)
Create admins table3m 7s
-
(Locked)
Challenge: Build admin management3m 52s
-
(Locked)
Solution: Build admin management6m 30s
-
(Locked)
PHP password functions7m 27s
-
(Locked)
Authenticate user access8m 27s
-
(Locked)
Require authorization6m 15s
-
(Locked)
Log out a user2m 48s
-
(Locked)
Optional password updating6m 2s
-
(Locked)
Authorized previewing3m 46s
-
(Locked)
-
-