v.22.4Improvement

Respect remote_url_allow_hosts for Hive tables

Respect remote_url_allow_hosts for Hive tables. #35743 (李扬).
ClickHouse now respects the remote_url_allow_hosts setting for Hive tables.

Why it matters

This feature enhances security by ensuring that access to remote URLs in Hive tables is restricted according to the remote_url_allow_hosts configuration. It prevents unauthorized or unsafe hosts from being accessed when querying or interacting with Hive tables.

How to use it

Users can control which remote hosts are allowed for Hive tables by configuring the remote_url_allow_hosts setting in the ClickHouse server configuration file. The setting works transparently when querying Hive tables, restricting access to only the specified hosts.