tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: IP based access
Date Tue, 16 Jul 2013 11:22:55 GMT
> From: Prakash, Shreyas [mailto:Shreyas_Prakash@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message