Take a look at RemoteHostValve and the RemoteAddrValve in the Tomcat
docs. They'll give you what you want. You should be able to do
something like this in server.xml:
<Context path="" reloadable="true" docBase="c:/www" debug="0">
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="128.46.*.*"/>
...
</Context>
This example would only allow connections from 128.146.*.* clients.
HTH,
Jason Weiss
--
Jason Weiss
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com
Email: [EMAIL PROTECTED]
Office: 866-CYNERGY
Mobile: 1.832.444.2246
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/