HDTutorial
EN

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

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

19,688 views November 2, 2017 10:09

Watch on YouTube
ChannelHazardEdit

Description from the creator

edit.co Welcome to the FINAL 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.

Source Code: patreon.com/hazardedit
Why I send it to patreons only? Tutorials compensate my time and effort I invested when you take your time watching the video and following along. If you would like to save yourself some time you can use another way to help and support my channel and my tutorials :)

Best Practice Method: jaspan.com/improved_persistent_login_cookie_bes…

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

#Website
Website: hazardm/
Forum: hazardm/forum

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

#Messenger
Skype: hazardedit

About this tutorial

HazardEdit published this 10:09 video tutorial on November 2, 2017. It has been watched 19,688 times on YouTube.

Channel
HazardEdit
Category
Education
Duration
10:09
Published
November 2, 2017
Views
19,688
Likes
143

Tags

Share

This tutorial in other languages