GitHub user nathanielc closed a discussion: What is the recommended way to 
disable local filesystem access?

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


GitHub link: https://github.com/apache/datafusion/discussions/12636

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to