Hi

I wrote a perl web application, and now I want 
to add authentication to it. After some thought I 
decided to do a textfile based authentication.
I wrote a script which asks for a username and password, 
and the passwd file gets appended with username and 
crypt(ed) password.

I also wrote the web authentication part, where a form 
accepts a username and password, and then reads the 
passwd file, and checks if the passwd is correct or not.

Now If the password is correct, I want to redirect the user to 
my application. How can I do this?

Also how can I prevent the user from directly executing 
the main script(webapp). Is there a way I can maintain a session, 
and in the beginning of each script check if session is valid or
not?

Thanks in advance

____________
Srinivas

       ,,,
      (o o)
--ooO--(_)---Ooo----------- 
"The average human has about one breast and one testicle."    � From Statistics 101. 
--oo0--------0oo-----------

 


_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to