Specify a list of allowed root paths that can be used in export operations, such as the COPY TO command. Helps prevent exploitation of security vulnerabilities and prevent server crashes, data breaches, and full remote control of the host machine.
allowed-export-paths = ["root_path_1", "root_path_2"] The list of paths has to be on the same line as the configuration parameter.
Allowed file paths are enforced by default. The default export path (
<data directory>/mapd_export) is allowed by default, and all child paths of that path are allowed.
When using commands with other paths, the provided paths must be under an allowed root path. If you try to use a nonallowed path in a COPY TO command, an error response is returned.