> From: Sergey Livanov [mailto:[EMAIL PROTECTED] 
> I have 2 applications. The first is to be allowed from 
> internet, the second
> is to enter data. Two apps are in the webapps. How can I 
> configure tomcat
> to make cms unvisible from outside.

At least:

1) Use a filter or valve to examine the IP address of the incoming
request, and reject it if the IP address is external to your
organisation.  Add this filter to your invisible app.  Tomcat provides
some valves to do this by default.

2) Define two separate Services in conf/server.xml, each with their own
Connectors, Engines and Hosts.  Ensure the Connectors are on different
ports - say 80 and 8080 - and give them each their own appBase.  Put
your external app in the public appbase, the internal app in the private
appbase.  Now you can prevent external people accessing your internal
app by preventing access to (say) port 8080 from outside your firewall.

No doubt there are other approaches.

                - Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to