1 Reply Latest reply on Nov 15, 2008 1:39 AM by jaikiran

    Ip Restriction

    tolgaygu

      Hi,
      I am new at Jboss and Jboss v4.2 version was installed on a linux centos server. A new project is being developed . Now I need to arrange only alowed IP address can access some pages of the project and web users can access the hole project excepts the admin pages. We can do it on IIS server. Is there any way to accomplish that in jboss. Would you give a lucid explanation?



        • 1. Re: Ip Restriction
          jaikiran

          I guess you have combined two questions into one.

          Now I need to arrange only alowed IP address can access some pages


          If you want to restrict access to certain IPs (or the other way around - allow access to certain IPs) for a server, you can do that in the %JBOSS_HOME%/server/< serverName>/deploy/jboss-web.deployer/server.xml file. You can add a "Remote Host Filter" under the localhost Host. See this tomcat documentation http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html. But remember, this restriction applies at the server level and not at the individual pages.

          web users can access the hole project excepts the admin pages.


          Is this what you are looking for http://www.jboss.org/community/docs/DOC-12185