Securing Hive metastore
Cloudera recommends using Apache Ranger policies to secure Hive data in Hive metastore. You need to perform a few actions to prevent users from bypassing HiveServer to access the Hive metastore and the Hive metastore database.