PDA

View Full Version : Login System


Sysop_Neo
09-23-2005, 06:17 AM
hi all,

im new in programation so i have some dificulties for make a good login system to my webportal ...

i want to make a good login system without a database and with the best security for the future users is that possible?

i think that with a good cookie code its possible but im not very sure .. so i ask: what you suggest? (without a database because i dont understand nothing ... or im going to "explose" you with questions :s )

Bye all,

Neo

felgall
09-23-2005, 06:36 AM
Don't bother with cookies if you want something secure. Use a database or flat file on the server to store the login details.

Sysop_Neo
09-23-2005, 07:27 AM
What you call a "Flat File"? a simple file in server ... something like example.mdb ?

I have thinking in cookies because "you" or "they" (javascriptkit staff) ... have a nice little sample for a login system but dont have the option of create accounts and is only with one name and password and i have think to develop that code sample but im not sure if is a secure system or not or, if is easy to developp that :cool:

an example ...

at that code sample the code is:

if (form.id.value=="JavaScript") {

and i think that its possible to do with a option like mIRC scripting ... something like:

if (form.id.value isin $read the-txt-file-with-users-and-passwords.txt) {


but .... what you think?

bye (y))))

Neo