Matthew Hill

Secret Agent Login

Secret Agent Login page
The most insecure login page in history, but at least it looks nice.

Languages Used:

HTML

CSS

PHP

If you wish to visit the site, please click the link at the end. The Codename is Agent, and the password is password123Visit Site

This website was the first test of my skill I remember regarding building something from scratch. This page used a simplistic login system that set a cookie when you logged in and destroyed it when you logged out. While not sounding too difficult now it caused me quite a headache at the time.

The Problems & My solutions:

The problem I ran into was setting a cookie and allowing the user to go directly to the web page, at the time I did not know how redirects worked so I could not send the user to a page designed to set the cookie and send them on their way. Now that I do know about redirects I know exactly how I would do this assignment again if I were to come across it.

The other problem with this login is how it is designed, the username and password are stored directly in the code making it incredibly insecure. This of course also boiled down to my lack of skill in PHP at the time, I still have not built a proper login system, but I understand the required mechanics of doing so much better than I did at the time of this project.

This project was a fun time to build and mess around with, The open creativity provided was exactly what I needed to have fun with this one. While it is not overly visually impressive, I like to think the backend was a good challenge and a great lesson in security.