Hi,
Removing EXECUTE does not hide artifacts.
Model artifacts in Delta Sharing are accessible by design in the current implementation.
When you share a UC model via Delta Sharing, the full model package is delivered:
Why?
Because the receiving workspace needs the full bundle to reconstruct the MLflow model and enable Model Serving.
Removing EXECUTE only prevents using the model (e.g., in serving endpoints or load-and-predict).
It does not hide or block access to artifacts that Delta Sharing delivers.
If a model version is shared through Delta Sharing, its artifacts will be discoverable.
Workaround
Option A: Serve the model from the provider workspace
Instead of sharing the entire model via Delta Sharing:
Keep the model private in the provider workspace
Expose only API endpoints for inference
Consumers never receive the model or artifacts
Most customers needing IP protection choose this approach.
Option B: Remove sensitive artifacts before registering the model
You can strip:
training notebooks
feature engineering code
large auxiliary files
And store only the minimal MLflow model needed for inference.
But note:
If the consumer can load the MLflow model, they can still technically download the remaining artifact bundle.
I’d suggest submitting/raising the feature needed through your Databricks account team as well. I would expect this one to be on their radar.