tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Tedone" <>
Subject Re: Restrict access to a webapps folder based on ip
Date Tue, 09 Sep 2003 22:31:29 GMT
Well, you may want to restrict the servlet access, not the folder access. It
could be accomplished by a servlet filter for instance, which allow access
only if the IP are within a certain range...

----- Original Message ----- 
From: "Joshua Russell" <>
To: <>
Sent: Tuesday, September 09, 2003 3:29 PM
Subject: Restrict access to a webapps folder based on ip

> I was wondering if it was possible to restrict access to a certain
> webapps folder based on the ip the packet was coming from.
> So if .../webapps/app1 was for an intranet site with all ip's within a
> certian range having access, and /webapps/app2 for a web-site allowing
> machines with any ip.
> Does this make sense to anyone? And if so is there a better solution to
> hosting two applications on the same server...???Two instances of
> Tomcat...different ports??
> I am currently running Tomcat 4.0.6 standalone...
> ---------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software

View raw message