Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 63588 invoked from network); 9 Sep 2003 22:31:45 -0000 Received: from unknown (HELO jemoserver) (62.3.127.84) by daedalus.apache.org with SMTP; 9 Sep 2003 22:31:45 -0000 Received: from jemoserver ([192.168.2.3]) by jemoserver (JAMES SMTP Server 2.2.0a10) with SMTP ID 11 for ; Tue, 9 Sep 2003 23:31:30 +0100 (BST) Message-ID: <034901c37722$1d105970$0302a8c0@jemoserver> From: "Marco Tedone" To: "Tomcat Users List" References: <20030909142939.86714.qmail@web40504.mail.yahoo.com> Subject: Re: Restrict access to a webapps folder based on ip Date: Tue, 9 Sep 2003 23:31:29 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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... Marco ----- 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