Hello everybody
I am trying to develop a simple web-site which needs a valid login. I have
some files on the same server and in the same folder. I want to prevent any
non-users from looking at this content. Can my initial login page take care of
the security of my entire directory.
Here is an example of what I am trying to say: I have a login page which posts
a request to a servlet that checks if the user information is correct and then
loads an html page. Then there are links to a few other files from this HTML
file. Right now if a user types the links directly he can see all of them. I
need some mechanism to redirect him to the login page if he tries to access
these links.
I hope my question is understandable. I am not sure either, if jsp could offer
a solution. I am sorry if this is the wrong list that I mailed my question
to.
Thanks,
Kalyan
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets