<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question How do I restrict access to Ambari WebUI by IP address? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-restrict-access-to-Ambari-WebUI-by-IP-address/m-p/220746#M84375</link>
    <description>&lt;P&gt;How do I restrict access to Ambari WebUI by IP address? &lt;/P&gt;&lt;P&gt;Of course, using a firewall included in OS is a solution, but I'd like to know the way which requires only to modify  Ambari's configurations. &lt;/P&gt;&lt;P&gt;I know Ambari uses Jetty for HTTP server and Jetty provides IP address restriction by IPAccessHandler &lt;A href="https://www.eclipse.org/jetty/documentation/9.4.x/ipaccess-handler.html" target="_blank"&gt;https://www.eclipse.org/jetty/documentation/9.4.x/ipaccess-handler.html&lt;/A&gt;, but I'm not sure how to apply this to Ambari.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Oct 2018 08:42:46 GMT</pubDate>
    <dc:creator>toide</dc:creator>
    <dc:date>2018-10-17T08:42:46Z</dc:date>
    <item>
      <title>How do I restrict access to Ambari WebUI by IP address?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-restrict-access-to-Ambari-WebUI-by-IP-address/m-p/220746#M84375</link>
      <description>&lt;P&gt;How do I restrict access to Ambari WebUI by IP address? &lt;/P&gt;&lt;P&gt;Of course, using a firewall included in OS is a solution, but I'd like to know the way which requires only to modify  Ambari's configurations. &lt;/P&gt;&lt;P&gt;I know Ambari uses Jetty for HTTP server and Jetty provides IP address restriction by IPAccessHandler &lt;A href="https://www.eclipse.org/jetty/documentation/9.4.x/ipaccess-handler.html" target="_blank"&gt;https://www.eclipse.org/jetty/documentation/9.4.x/ipaccess-handler.html&lt;/A&gt;, but I'm not sure how to apply this to Ambari.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 08:42:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-restrict-access-to-Ambari-WebUI-by-IP-address/m-p/220746#M84375</guid>
      <dc:creator>toide</dc:creator>
      <dc:date>2018-10-17T08:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I restrict access to Ambari WebUI by IP address?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-restrict-access-to-Ambari-WebUI-by-IP-address/m-p/220747#M84376</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/55170/toide.html" nodeid="55170"&gt;@Takefumi Oide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;From Ambari side currently i do not see any such option to enable the "IPAccessHandler" handler without Ambari Code changes.&lt;/P&gt;&lt;P&gt;This is correct that ambari uses Jetty API and it makes use of Handlers &lt;STRONG&gt;"org.eclipse.jetty.server"&lt;/STRONG&gt; APIs via Java code (programatic way) but unfortunately it does not use the "IPAccessHandler" directly.&lt;BR /&gt;&lt;A href="https://github.com/apache/ambari/blob/release-2.7.0/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java#L141-L143" target="_blank"&gt;https://github.com/apache/ambari/blob/release-2.7.0/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java#L141-L143&lt;/A&gt;&lt;/P&gt;&lt;P&gt;These handlers are added programmatically (not via configuration params) &lt;A href="https://github.com/apache/ambari/blob/release-2.7.0/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java#L473-L479" target="_blank"&gt;like following&lt;/A&gt; code:  &lt;/P&gt;&lt;PRE&gt;handlerList.addHandler(gzipHandler);&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;As it is done via Java code hence without code change i do not see an option for ambari to make use of Jetty handler "org.eclipse.jetty.server.handler.IPAccessHandler". It can not be achieved via configuration.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 09:23:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-restrict-access-to-Ambari-WebUI-by-IP-address/m-p/220747#M84376</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-10-17T09:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I restrict access to Ambari WebUI by IP address?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-restrict-access-to-Ambari-WebUI-by-IP-address/m-p/220748#M84377</link>
      <description>&lt;P&gt;Thanks, &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 16:49:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-restrict-access-to-Ambari-WebUI-by-IP-address/m-p/220748#M84377</guid>
      <dc:creator>toide</dc:creator>
      <dc:date>2018-10-18T16:49:09Z</dc:date>
    </item>
  </channel>
</rss>

