MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.

I'm not curious

PHP User Authentication

Course Summary

Learn how to implement a custom user authentication system that controls users access to web resources, using password hashing and JSON Web Tokens for security. The system lets users sign up, log in, and log out, limiting access to certain actions based on authorization.

  • +

    Course Syllabus

    What is Authentication

    You may think that authentication is one of the easiest parts of your application, and yes, it can be. However, to do authentication correctly can be a very difficult thing. If you manage your passwords incorrectly, it opens you up to a huge security vulnerability that will cost you later on down the road. Learning about the basics is the first place to start. 6 steps
    • Authentication vs Authorization 2:11
    • Application Overview 1:26
    • AuthN vs AuthZ 3 questions
    • Cookies vs. Session Storage 2:57
    • JSON Web Tokens 1:54
    • Cookies vs Sessions 5 questions

    Building the Library

    It is time to build the core of our application without any of the complexity of authentication or authorization. This stage is all about setting up the files we need for viewing our books and adding more to our list. 10 steps

    Adding Authentication to Your Application

    We now have the core of our application built, however it is open to the world to use and edit/delete any book. We should set up some sort of authentication system to prevent this and allow a user to “own”! 13 steps

    Setting up Authorization System

    The last part of our project is a way to authorize a user to let them do things based on their role. We discussed in Stage 1 the difference between authentication, which we just finished, and authorization. We will now create the role of administrator who can manage users and edit and delete any book on the site. 7 steps

Course Fee:
USD 25

Course Type:


Course Status:



1 - 4 hours / week

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url