Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

PHP: User Authentication

via LinkedIn Learning

Overview

Find out how to apply best practices for user authentication to your own PHP projects and avoid costly security pitfalls.

Syllabus

Introduction
  • Restricting user access in PHP applications
  • How to use the exercise files on GitHub
1. User Authentication Overview
  • Identification and access control
  • Hashing and storing passwords
2. Implementing User Authentication in PHP
  • Creating the database table
  • Introducing the sample project
  • Adding new users
  • Logging in users
  • Logging out users
  • Controlling access to pages and functions
  • Challenge: Editing users
  • Solution: Editing users
3. Working with Strong Passwords
  • Password requirements
  • Preventing weak passwords
  • Resetting forgotten passwords
4. Securing User Authentication
  • Preventing IDOR
  • Using HTTPS
  • Protecting access tokens
  • Keeping track of logins
  • Challenge: Expiring logins
  • Solution: Expiring logins
Conclusion
  • Next steps

Taught by

Kevin Skoglund

Reviews

4.7 rating at LinkedIn Learning based on 50 ratings

Start your review of PHP: User Authentication

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.