webapp security in tomcat

2007-06-19 Thread Herman Schultz

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

2007-06-19 Thread Christopher Schultz
-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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: webapp security in tomcat

2007-06-19 Thread Tim Funk

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]