What is the recommended way to disable local filesystem access? #12636
Unanswered
nathanielc
asked this question in
Q&A
Replies: 1 comment
-
Or is the recommended way to simply rely on the SQLOptions? Is the intent that if a query cannot create a new table pointing to the local filesystem they cannot read/write to it? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am exposing a datafusion context via FlightSQL and I would like to prevent queries from reading and writing data to the local filesystem.
I see a few approaches...
Empty ObjectStoreRegistry
I could implement the ObjectStoreRegistry and return an error for all local urls.
Replace ObjectStore for local urls
I could replace the default ObjectStore for the local urls with an implementation of the ObjectStore that returns not found/not supported for methods
Something Else?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions