duckdb / duckdb-web

DuckDB website and documentation
https://duckdb.org
MIT License
167 stars 319 forks source link

[Config] `enable_external_access` #2788

Open Tishj opened 6 months ago

Tishj commented 6 months ago

It might be worth to elaborate on the effects of this setting, as they are quite substantial. The current docs only say:

Allow the database to access external state (through e.g., loading/installing modules, COPY TO/FROM, CSV readers, pandas replacement scans, etc)

szarnyasg commented 6 days ago

The documentation on this is still limited:

docs/configuration/overview.md
126:| `enable_external_access`                      | Allow the database to access external state (through e.g., loading/installing modules, COPY TO/FROM, CSV readers, pandas replacement scans, etc)                                                                                                                                    | `BOOLEAN` | `true`                                              |

docs/operations_manual/securing_duckdb/overview.md
27:This can be disabled either by disabling external access altogether (`enable_external_access`) or disabling individual file systems. For example:

docs/api/cli/overview.md
307:The `getenv` function can only be run when the [`enable_external_access`]({% link docs/configuration/overview.md %}#configuration-reference) is set to `true` (the default setting).