How to only allow access inside a local network
From Resin 3.0
<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>