Can you use request.getRemoteAddr() and use the machine's IP address? -----Original Message----- From: Iain Darroch [mailto:[EMAIL PROTECTED]] 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: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
