You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by gr...@aegonuk.co.uk on 2003/04/16 13:52:17 UTC
RE: Restrict Access to Web App to clients with a specific IP addr
ess
<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