Details
-
New Feature
-
Status: In Review (View Workflow)
-
Major
-
Resolution: Unresolved
-
11.4
Description
Extension autoinstall/autoload (httpfs etc.) was always enabled when the shared DuckDB instance is created. Per Roman's request, remote access is now off unless the user explicitly enables it.
New read-only global variable duckdb_allow_remote_access, default OFF (startup option, like duckdb_use_direct_io).
OFF: autoinstall_known_extensions and autoload_known_extensions are set to false. ON: previous behavior.
docs/security-model.md updated.
Not changed: enable_external_access (local file access) stays at its default, and an explicit INSTALL httpfs through run_in_duckdb() (needs duckdb_allow_run_in_duckdb=ON plus SUPER) is not blocked.
Tests: duckdb.remote_access_off (default OFF, settings read false, SET GLOBAL rejected) and duckdb.remote_access_on (started with ON, settings read true) pass on a release build. Rest of the duckdb suite (replication tests and one debug-only test skipped): the only differences are the "Can't find corresponding duckdb time_zone" warning of my machine.