Never store plain text passwords
Store hashes instead.
Store hashes instead.
Let's see how to change menus, based on the user's roles.
Keep your code secret, and nobody can hack it, right? Well... it's not that easy.
How do we limit access to pages?
A login form to add data to the session, and a logout link, to remove it.
What we'll make.
DO NOT START HERE
Read the lessons on the left of the screen. All exercises are embedded in the lessons.