Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to test Geo loaction based policies in sandbox HDP2.5

Highlighted

How to test Geo loaction based policies in sandbox HDP2.5

Rising Star

https://cwiki.apache.org/confluence/display/RANGER/Geo-location+based+policies

Here in the geo.txt file the IP is not taking in to consideration can some please help me

3 REPLIES 3

Re: How to test Geo loaction based policies in sandbox HDP2.5

Re: How to test Geo loaction based policies in sandbox HDP2.5

Rising Star

@Eyad Garelnabi

Yes I followed the same, but the policy sholud test something , i mean restricting or allowing something with any ceratin user.

Re: How to test Geo loaction based policies in sandbox HDP2.5

The policy should test where the user is accessing the cluster from. The location of the user is determined by mapping the user's IP address with the geo.txt. So, for example, you can set a policy that allows access to users located in the US only. To test the reverse, set a policy to deny access to users located in the US.

In order to enable the ability to set deny/exclude conditions in HDP 2.5 please follow the below:

https://community.hortonworks.com/articles/61208/how-to-enable-deny-conditions-and-excludes-in-rang....