Skip to content

Feature request: support for SQLite's authorizer (sqlite3_set_authorizer) #1429

Description

@asaikali

Summary

Please add support for SQLite's authorizer callback (sqlite3_set_authorizer) to the JDBC driver. As far as I can tell it isn't currently exposed in any form.

Use case

I'd like to enforce per-table access control on a single connection: deny both reads and writes to a set of privileged tables (e.g. a sys_ prefix) while allowing normal access to the rest. The authorizer is the SQLite mechanism designed for this — it gates reads as well as writes, pre-execution, and applies even when tables are accessed indirectly through views, subqueries, or triggers.

Note

This would follow the same precedent as the existing callback hooks already exposed by the driver (busy handler, progress handler, commit/update listeners).

Version: observed against 3.53.2.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions