ambari icon indicating copy to clipboard operation
ambari copied to clipboard

AMBARI-26137:Add whitelist setting for host access control

Open tyoushinya opened this issue 1 year ago • 1 comments

What changes were proposed in this pull request?

Add a whitelist configuration setting to control which host will be allowed to access Ambari server.

How was this patch tested?

  1. Add a comma-separated whitelist setting(security.server.access.whitelist) in ambari.properties configuration file. Supported values are IP、hostname or IP range as following. host1,192.168.0.118-168,192.168.1.5
  2. Restart Ambari server
  3. You can try to access Ambari server. The configured hosts can access succeed, and others are forbidden.

tyoushinya avatar Sep 19 '24 03:09 tyoushinya

@JiaLiangC Can you help review this PR? Thanks. BTW, This feature has been deployed on our product environment. and everything works well until now.

tyoushinya avatar Oct 22 '24 08:10 tyoushinya