Skip to content

duckdb-hardening: a policy floor the config file cannot lower #262

Backlog

Description

@jrosskopf

Follow-up from #253. duckdb-hardening.external-access lives in flapi.yaml. For a config loaded from a bucket, whoever can write that bucket can set external-access: full and lift the restriction.

Proposal: an operator-side floor that only the environment or CLI can set, e.g. FLAPI_EXTERNAL_ACCESS_FLOOR=restricted / --external-access-floor restricted. The effective mode would be the stricter of the floor and the config, and startup would log both. Tests: a remote config with full under a restricted floor is still refused for /etc/passwd; a local config with no block under the floor is restricted.

Activity

  1. added
    enhancement
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions