I am imagining you download the "container", put the data in, encrypt the container with the data inside, and have that run anywhere.
But I have no idea if that is possible.
I am imagining you download the "container", put the data in, encrypt the container with the data inside, and have that run anywhere.
But I have no idea if that is possible.
Thinking through issues, the external script could still repeatable run on the hidden data, slowly building an idea of the information. There are techniques like homomorphic encryption that go in the direction of allowing analysis on encrypted data.
Musing on possible other solutions, I wonder if simply ratching up the cost and repeated access and limiting data output would discourage this profile building.
Another possibility is it possible to concieve of the service, that takes in a script, runs it, and then tests the returned data for the level of information entropy. Blocking anything above a certain threshold. FYI not sure if that is complete nonsense, but conceptually, with much hand waving, maybe it works.
Going local though does help too
Microsoft calls this "confidential computing" and has some related Azure products, including providing VMs standalone and in Kubernetes.
Theoretically it would work like this: you download a docker image, you load your data into it, you encrypt the entire image with data inside, you send that whole package to the cloud where it is run and it produces an output.
This could be mitigated by having that worker host self-hosted by your clients, it depends how practical that might be.