does anybody knows if tomcat can restrict use of certain application by Ip (like apache .htaccess )?

hope someone might help me ?

regads

You give a Valve towards the Context in context.xml (particularly, org.apache.catalina.valves.RemoteAddrValve). Begin to see the paperwork on Remote Host Filters.