Re: how to protect file

2003-02-24 Thread Will Hartung
 From: Xiongfei Wang [EMAIL PROTECTED]
 Sent: Sunday, February 23, 2003 9:21 AM
 Subject: how to protect file


 I have tomcat 4.1.18 i want to develop a  login system similar to login
 system of my bank's website.

Why not go and read Section 12. Security in the Servlet Spec. This wheel has
already been invented for you.

Regards,

Will Hartung
([EMAIL PROTECTED])





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



how to protect file

2003-02-23 Thread Xiongfei Wang
I have tomcat 4.1.18 i want to develop a  login system similar to login
system of my bank's website.

Stucture: working directory:
 home/jzhu/registration  have files and dirs
BadUser.html  index.html  Invalid.html  target.html  WEB-INF
target.html is the file I want to protect user have to log in in order to
access it.
 I have a servlet Login.java which will take user login name and password
and direct it to target.html after user log in.
the problem i have is if user simply type
http://lychee.ctegd.uga.edu:8080/registration/target.html

he can access target.html without needing to login. 
How can i let user not being to bypass login? I meant, in order to access
target.html he has to login.

Thanks.
j.P


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]