Is there any way to restrict access from subnets or specific IP addresses to Tomcat like Apache does?
Location: http://www.jguru.com/faq/view.jsp?EID=445942 Created: Jun 26, 2001 Author: Alessandro A. Garbagnati (http://www.jguru.com/guru/viewbio.jsp?EID=32727) Question originally posed by Maria Sarasol (http://www.jguru.com/guru/viewbio.jsp?EID=282500 No, unfortunately as per Tomcat 3.2.1 there is no way to set configuration directives (like in Apache) for restricting access. The web server part of Tomcat it’s very simple and basic, and If you need more complex features, the best solution it’s to avoid using it and rely on a seriopus web server. The other solution is to use a Model 2 architecture and verify the access in your controller servlet.
Related Questions
- I need even tighter Freeway access security. Can I configure a firewall on the Freeway, and restrict access to certain IP addresses?
- My web server is multihomed with IP addresses in several different subnets. Is there any special setup for this configuration?
- Is there any way to restrict access from subnets or specific IP addresses to Tomcat like Apache does?