Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there any way to restrict access from subnets or specific IP addresses to Tomcat like Apache does?

0
Posted

Is there any way to restrict access from subnets or specific IP addresses to Tomcat like Apache does?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123