> From: Prakash, Shreyas [mailto:shreyas_prak...@gallup.com] 
> Subject: Reg: IP based access

> Is it possible to restrict access/filter based on the IP address of the end 
> user on a Servlet's mapping URL? If so, how? Please explain.

> I am aware of the fact that this can be achieved in Tomcat 7. However, I am 
> interested to know how this could be achieved in Tomcat 6.

Do you mean this?
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Remote_Address_Filter

If you want more flexibility, including automatic selection by URL pattern, 
look at this:
http://tuckey.org/urlrewrite/

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to