title: Restrict access to Tomcat manager by IP
body: <p>I'm trying to restrict all the requests to my Tomcat manager which don't come from my IP. </p>
  
  <p>So far, I found that adding a Valve to the server.xml like this:</p>
  
  <pre><code>&lt;Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="IP"/&gt;
  </code></pre>
  
  <p>will block all requests except the ones coming from "IP" to the whole Tomcat (including the webapps). Does anyone know how to do the same but applying only to the Tomcat manager?</p>
  
  <p>By the way, I'm using Tomcat7.</p>