Back to Browse

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

38.7K views
Aug 20, 2017
18:50

Source code project: https://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: http://jaspan.com/improved_persistent_login_cookie_best_practice Thumbnail Background (Bess Hamiti): https://www.pexels.com/photo/red-and-blue-hot-air-balloon-floating-on-air-on-body-of-water-during-night-time-36487/ #Social Twitter: http://twitter.com/hazardedit Facebook: http://facebook.com/hazardedit #Messenger Skype: hazardedit

Download

0 formats

No download links available.

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