You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Herman Schultz <he...@gmail.com> on 2007/06/19 23:00:18 UTC

webapp security in tomcat

Hi,

Can you please tell me if I can configure tomcat to let a range of IP
address to access 1 web app hosted by tomcat, while another set of IP
address to access another web app hosted by the same tomcat?

Thank you.

Re: webapp security in tomcat

Posted by Tim Funk <fu...@joedog.org>.
http://tomcat.apache.org/faq/security.html#restrict

-Tim

Herman Schultz wrote:
> Hi,
> 
> Can you please tell me if I can configure tomcat to let a range of IP
> address to access 1 web app hosted by tomcat, while another set of IP
> address to access another web app hosted by the same tomcat?



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: webapp security in tomcat

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Herman,

Herman Schultz wrote:
> Can you please tell me if I can configure tomcat to let a range of IP
> address to access 1 web app hosted by tomcat, while another set of IP
> address to access another web app hosted by the same tomcat?

You're looking for a remote address valve. Check out the documentation
for this type of valve on this page:
http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html

Since you can configure any valve within a <Context> element, you /can/
control each of your web applications separately.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGeEk99CaO5/Lv0PARAnR8AKC3ySjKZexZRNJLT0gZ2bwuEoQwewCgu8rz
kVMh4U3i7nuPsTqhGW81/t4=
=Au/O
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org