Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 90151 invoked from network); 11 Apr 2002 15:27:13 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Apr 2002 15:27:13 -0000 Received: (qmail 28862 invoked by uid 97); 11 Apr 2002 15:26:58 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 28846 invoked by uid 97); 11 Apr 2002 15:26:57 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 28835 invoked from network); 11 Apr 2002 15:26:57 -0000 Message-ID: <72F7D4A84579D511A4300090273F6EFC59A8DF@ERLANGER> From: "Wagoner, Mark" To: 'Tomcat Users List' Subject: RE: Restricting access by machine Date: Thu, 11 Apr 2002 11:25:33 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Can you use request.getRemoteAddr() and use the machine's IP address? -----Original Message----- From: Iain Darroch [mailto:darrochi@dcs.gla.ac.uk] Sent: Thursday, April 11, 2002 11:22 AM To: Tomcat Users List Subject: RE: Restricting access by machine I dont think that would work as I want other servlets on the webserver to be accessable over the web. Iain On Thu, 11 Apr 2002, Graham Stirling wrote: > Have you considered restricting access via a firewall? > > Cheers, > > Graham. > > Subject: Restricting access by machine > > > > > > > > Hi, > > > > I have a servlet that I wish to restrict access to. I can do > > this very > > easily by using authentication and requiring a user name and > > password to > > be entered. > > > > However I would like to take it a step further and restrict > > access to one > > particular machine (or perhaps a group of machines). I was > > wondering what > > the best way of doing this was? > > > > Many Thanks > > > > Iain > > -- To unsubscribe: For additional commands: Troubles with the list: -- To unsubscribe: For additional commands: Troubles with the list: