Available in VPC
Ranger provides granular access control for Secure Hadoop components. To add policies for new users or groups, follow these steps:
Access Ranger Admin UI
Access the Ranger Admin UI using the Ambari Quick Link.

The HDFS, HIVE, YARN, and KNOX policies are provided immediately after cluster creation.
The HBASE and TRINO policies are additionally provided depending on whether a corresponding add-on exists.
Manage Ranger policies
Click the service policy that needs to be added, edited, or deleted.

The examples of the HIVE policies are as follows. Items that you can control access to by service are listed with icons.

Edit Ranger policies
The key items of the Ranger Hive policies list screen are as follows:

- Policy Name
- The policies registered in the Hive service.
- Users
- The names of the user accounts that are granted permissions on the corresponding policy.
- Action
- The features you can perform for the corresponding policy are as follows:
- View: view a policy.
- Edit: edit a policy.
- Delete: delete a policy.
- The features you can perform for the corresponding policy are as follows:
In the detailed settings screen for Ranger policies, you can manually specify the resource unit and the subject to which permissions are granted.
You can set access permissions by adding or deleting a group or user through the select group or select user item. When you save the policy, access is limited to specified users only, and changes are applied in real time.

- database: specify the Hive database to which the policies will be applied.
- table: specify the Hive table to which the policies will be applied.
- Hive Column: specify the column unit to which the policies will be applied.
- Select Role: grant permissions to a specific role.
- Select Group: specify group-level permissions.
- Select User: specify user-level permissions.
- Permissions: set detailed permissions to grant to a selected target.
- You can enable additional plugins from services other than Ranger Policy, which Cloud Hadoop provides for the first time, or you can create a new policy.
For more information, see Set up access control with the Ranger Plugin. - In the basic Ranger Admin UI, you can check Resource and Condition settings as well as Audit Log.
For more information, see Manage HDFS access control by user with Ranger.