Simple User Login System?

dwarfdude77

In Runtime
Messages
270
Location
USA
I need a simple user login system that can store information about each user and that user would sign in with a username and password. I need to be able to do this just using JavaScript, I can upgrade it later if I need to. Any suggestions?
 
Why exactly just JavaScript? That would be horribly insecure. You need a server backend with a database and ways on the server to validate input.

Your db would be local to the client anyway with using only client-side scripts/controls (HTML5/JavaScript).
 
Yes, since you would be able to do server-side processing. Like I said, you'll need a database as well so you can store usernames/passwords. And you don't want to store passwords in cleartext - you'll want to encrypt or hash them.

That being said...making your own login system can be kind of a PITA. If you're wanting to use this for an actual website in production...you may want to look into prebuilt modules that you can use.
 
Back
Top Bottom