Dear subscribers,
I am working out an idea for a (set of) perl scripts that would
provide the following:
* A login form asking for a unique username/password combination;
* Validating the user input (using a stored user database) and
redirecting the user accordingly;
* Maintaining the state, i.e. remembering the validated user until he
logs out or ends the session.
Firstly, I am aware that probably thousands of applications are
readily available to perform these kind of tasks, but I am the
learn-by-doing-something-useful kind of person and I think this kind
of application touches many perl/cgi subjects.
Should I even do this using perl and cgi or am I better off trying to
accomplish this at server level (using whatever facilities the web
server provides for this kind of task)? What are the advantages of
each apporach, if both are feasible?
If this could be done using perl and cgi, what security issues should
I consider? The data transmitted need not be encrypted, but it should
not be possible to login by (wild guess) recycling a session cookie.
Furthermore, does any of you know of a well documented example of an
application that does what I want to do?
I'm afraid that I probably need to be more specific, but I hope to
receive some helpful hints anyway.
Thanks,
--
Martijn van Exel, [EMAIL PROTECTED]
WEBkitchen
Waterstraat 11
3511 BW Utrecht
tel/fax 030-6701818
http://www.webkitchen.nl