Restriction of pages?

2005-03-14 Thread Chris Cherrett
Hi 

I would like to restrict access to certain pages within a webapp to certain IP 
addesses but not to the whole webapp. What is the best way to do this or do I 
need to take another approach?

Thanks
-- 
Chris Cherrett

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



Re: Restriction of pages?

2005-03-14 Thread QM
On Mon, Mar 14, 2005 at 08:50:10AM -0700, Chris Cherrett wrote:
: I would like to restrict access to certain pages within a webapp to certain 
IP 
: addesses but not to the whole webapp. What is the best way to do this or do I 
: need to take another approach?

You don't state what version of Tomcat you run; but if it's 4.1 or later
(maybe 4.0 and later?) you can take advantage of servlet filters.
They're part of the servlet spec (2.3 and later) so using them won't tie
you to Tomcat.

-QM


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: Restriction of pages?

2005-03-14 Thread Chris Cherrett
Tomcat 5.028.

Will that do amd is your solution the only one?

Thanks

On March 14, 2005 10:28 am, QM wrote:
 On Mon, Mar 14, 2005 at 08:50:10AM -0700, Chris Cherrett wrote:
 : I would like to restrict access to certain pages within a webapp to
 : certain IP addesses but not to the whole webapp. What is the best way to
 : do this or do I need to take another approach?

 You don't state what version of Tomcat you run; but if it's 4.1 or later
 (maybe 4.0 and later?) you can take advantage of servlet filters.
 They're part of the servlet spec (2.3 and later) so using them won't tie
 you to Tomcat.

 -QM

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