YoVDO

Introduction to User Authentication in PHP Course (How To)

Offered By: Treehouse

Tags

PHP Courses Web Development Courses Object-oriented programming Courses User Authentication Courses Access Control Courses Authorization Courses Password Hashing Courses

Course Description

Overview

Do you want users to be able to interact with your site? Do you want users who are active participants in the content you provide? That interaction could be purchasing products or adding products to sell, leaving comments or providing blog posts. No matter which type of interaction your site provides to users, you'll need a way to authenticate those users. In this course we'll lay the foundation for keep your data safe and secure while building a platform for active participation.

What you'll learn

  • Authentication vs Authorization
  • Securing Passwords

Syllabus

Building Authentication

We are going to be building the Authentication and Authorization for a book voting website that you can share among your book club to decide what people want to read next. We'll be using authentication to allow only registered users to vote on books. We'll be using authentication to allow all users to add and edit their own books, and allow administrators to modify ANY books. Let's dig into the application and see how it works

Chevron 12 steps
  • Application Overview

    4:18

  • instruction

    Object-Oriented Authentication

  • Authentication vs Authorization

    1:46

  • AuthN vs AuthZ

    5 questions

  • Registration System

    5:01

  • Securing Passwords

    5:01

  • Login System

    5:45

  • Registration and Security

    5 questions

  • Verify Authentication

    3:52

  • Logging Out

    4:00

  • Require Authentication

    4:19

  • Authenticated Login

    5 questions

Setting Up Authorization

Now that we have set up the Authentication portion of the website, we know that are use is ALLOWED to be here. But what are they allowed to do? We want to make sure that a user can only access the information they are allowed to access. Some users may have more control, these will be our administrators.

Chevron 12 steps
  • User Profile

    4:02

  • Update Password

    8:41

  • Password Hashing

    1 objective

  • Creating Helper Functions

    5:35

  • User Administration Panel

    5:18

  • Changing User Role

    2:40

  • Guards and Helpers

    5 questions

  • Adding Authorization Checks

    3:17

  • Book Access

    3:38

  • Update Voting System

    3:53

  • Next Steps

    1:14

  • Authorized Login

    5 questions


Related Courses

A Beginner's Guide to C# and .NET
Packt via FutureLearn
A Beginner's Guide to Java Programming
Packt via FutureLearn
Advanced Perspective of Classes and Object-Oriented Programming in Python
A Cloud Guru
Certified Associate in Python Programming Certification (PCAP 31-03)
A Cloud Guru
Introduction to Python Development
A Cloud Guru