HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

Secure Login Form Authentication System (Cookies, Sessions, Token, PDO) PHP & MySQL Tutorial Part 2

38,735 views November 2, 2017 18:51

Watch on YouTube
ChannelHazardEdit

Description from the creator

Source code project: patreon.com/hazardedit

Welcome to the second part of these tutorial series where I will be "live coding" a secure login form system with cookies sessions and tokens in php and mysql using a mysql database.
I am using PDO for my database access which is a safe method against common sql injection attacks.
Even though I simply go with my root mysql user in the tutorial I recommend you guys to create a dedicated mysql user with just enough permission so you can use the login form as it will protect your database or site from evil people trying to drop tables or delete entries.
The method I use in this video can be found in the links below. Feel free to apply this best practice method to your projects as this is actually pretty good.

Feel free to leave CONSTRUCTIVE criticism for me as I am NOT programming in PHP or SQL professionally.

Best Practice Method: jaspan.com/improved_persistent_login_cookie_bes…

Thumbnail Background (Bess Hamiti): pexels.com/photo/red-and-blue-hot-air-balloon-f…


#Social
Twitter: twitter.com/hazardedit
Facebook: facebook.com/hazardedit

#Messenger
Skype: hazardedit

About this tutorial

HazardEdit published this 18:51 video tutorial on November 2, 2017. It has been watched 38,735 times on YouTube.

Channel
HazardEdit
Category
Education
Duration
18:51
Published
November 2, 2017
Views
38,735
Likes
245

Tags

Share

This tutorial in other languages