Sorry, your browser is not supported
To have the best experience using Skillshare, we recommend that you use one of these supported browsers.

How to Create a Secure, Session-Based Login Script

John Morris, I teach aspiring developers how to code

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
5 Videos (2h 7m)
    • Introduction

      2:16
    • Lesson 1: Create a Simple, No Database Login

      25:17
    • Lesson 2: Create an Advanced, Database-Driven Login

      29:18
    • Lesson 3: Add In a Remember Me Feature

      24:50
    • Lesson 4: Create a Secure Password Reset

      45:32

About This Class

You'll learn how to create a secure, session-based login system in PHP. There's two versions: 1) a simple non-database version we'll create first to quickly over all the base concepts. Then 2) we'll convert that into full-fledged database-driven login script complete with:

  • Secure, session-based user access
  • User registration
  • Remember me feature
  • Email-based password reset
  • Cryptographically secure tokens
  • SQL injection prevention
  • Install script

And more.

FAIR WARNING

This is an advanced course. The topics covered here assume a certain level of PHP knowledge. It's frankly only a small percentage of developers in the world who know how to do this properly. I strongly recommend you take my PHP 101 course BEFORE taking this one. Only jump into this when you're ready to challenge yourself and take your PHP skills up a notch.

Comes with full source code in the Class Project section.

41

Students

--

Projects

0

Reviews (0)

John Morris

I teach aspiring developers how to code

Hey I'm John. Let me talk about myself for a minute :D. So, I've been a web designer/developer for about 12 years now. I specialize in the "standard" web languages (HTML, CSS, JavaScript, PHP and MySQL). I'm a freelancer and instructor.

To "humble" brag for a second...

I worked on big name projects for people like New York Times Bestselling Author, Michael Hyatt; online celebrity, Lewis Howes; Inc. Magazine's Small Business Owner's Council; famous copywriter, Ray Edwards and oth...

See full profile