How to only allow access inside a local network

From Resin 3.0

Revision as of 17:41, 15 January 2009 by Ferg (Talk | contribs)
Jump to: navigation, search


<web-app xmlns="http://caucho.com/ns/resin"
              xmlns:sec="urn:java:com.caucho.security">
   
   <sec:Allow url-pattern="/admin/*">
      <sec:IfNetwork>
         <value>192.168.0.0/16</value>
         <value>127.0.0.1</value>
     </sec:IfNetwork>
   </sec:Allow>

</web-app>
Personal tools