You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Fredrik Jonson <fr...@myrealbox.com> on 2005/04/11 13:14:52 UTC
Filtering remote host access in web.xml
Hello,
I want to limit access to a specific servlet based on the requesting clients host name and address. I'm aware of the RemoteHostValve, but as I understand the specification it can only be used by editing the server.xml file, and I would prefer to have a method to control it in the web.xml file.
Basically, what I'd need is a RemoteHostFilter, but i find no reference to a such a creature. Of course I could write one myself, but I cannot imagine that no one have had this problem before me.
So, what is a good approach on this?
regards,
--
Fredrik Jonson
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org