hmm; perhaps not the most elegant solution; but you could always convert the
(to be) protected pages into jsp-pages & ask for validation within the jsp
instead.
best regards;
//adrian p.
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Marcos
Sent: 05 December 2000 12:51
To: [EMAIL PROTECTED]
Subject: protectin files
hi,
i have to manage some permission to access to some directories and
files. Perhaps sessions and a database is the answer...
but.. should i use .. sendRedirect...
sure.... thinks about this example.
i would like to protect a html page call security1.html
i have a link to that page and i change it to a link to a
servlet. the servlet ask for a validation and if ok it will redirect to
security1.html.. but.. what about if a bookmark this page.. it will not
ask anymore for a prevalidation.. and if i know the url ... i will see
the page without accessig to the servlet.
any suggestions will be pleased,
thanks in advance,
marcos
--
m a r c o s @ i v a l . e s
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html