tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reuben <>
Subject Re: limits the access of upper directory
Date Sat, 16 Aug 2003 09:44:34 GMT
I have discovered that the best way to keep people from looking into higher 
directories is to create an index page for those directories. In fact, on 
websites I develope, every directory has an index page.  The directories into 
which  I do not wish people to look  I create one similar to this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN


  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">



 Have you lost your way? 
This link <a href = "">"bac-portal"</a> 
will help quide you.



You can change the anchor ""  to a URL you 
want.  Also "bac-portal" ,  can be changed to more accurately define where 
the visistor is going when they click on the link.

You could cut and paste the html between the above lines and it should work 


On Friday 15 August 2003 11:41, Luo, Zhongjun wrote:
> Dear Sir/Madam:
> I have used Tomcat to make a web site, please see:
> Would you please tell me how I can limit the access to whole name of this
> site only?
 For example. now people can access (by deleting /BACWEB.jsp):
>  where I have other sites
> developing.
> Thank you a lot for give me the convenience to built this web site. Tomcat
> is great.
> Zhongjun Luo, Ph.D. 
> ******************************** 
> Research Assistant Professor
> Genetic Medicine Department
> Vanderbilt University Medical Center
> Nashville, TN 37232
> ********************************

View raw message