tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From graghupa...@aegonuk.co.uk
Subject RE: Restrict Access to Web App to clients with a specific IP addr ess
Date Wed, 16 Apr 2003 11:52:17 GMT

<Context path="/admin" docBase="../server/webapps/admin"
        debug="0" privileged="true">

  <!-- Uncomment this Valve to limit access to the Admin app to localhost
   for obvious security reasons. Allow may be a comma-separated list of
   hosts (or even regular expressions).
  <Valve className="org.apache.catalina.valves.RemoteAddrValve"
    allow="127.0.0.1"/>
  -->

  <Logger className="org.apache.catalina.logger.FileLogger"
             prefix="localhost_admin_log." suffix=".txt"
          timestamp="true"/>

</Context>



<Valve does the trick >


guru

-----Original Message-----
From: Varley, Roger [mailto:Roger.Varley@brake.co.uk]
Sent: 16 April 2003 12:46
To: Tomcat Users List (E-mail)
Subject: Restrict Access to Web App to clients with a specific IP
address


Hi

I'm designing a web-app that is going to be accessed via standalone Tomcat
solely by one of our customers. Is it possible, to restrict access to the
web-app to a specific range of IP addresses from web.xml (or any other means
within Tomcat)? 

Regards
Roger

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message