How to Securely Process and Encrypt Sensitive Data with LLMs Without Exposing It to the Cloud?
Asked by
!bird migration~
I'm dealing with some sensitive data that I want to process using a Language Learning Model (LLM). After processing, I need to encrypt this data into a secure bucket, but I don't want to use the default Key Management Service (KMS) for encryption. Importantly, I need to ensure that the data remains secure and is decrypted on the client side using something like WebCrypto. Essentially, I'm looking for methods to handle this data safely without exposing it to any cloud infrastructure.ย
If anyone can share some ideas or point me to relevant documentation, that would be really appreciated!
Answers
One option is to run everything on-premise. It'll give you complete control over your data and infrastructure, but you might lose some of the convenience cloud offers.
Reply to this answer
You might want to look into Ollama for setting up a local LLM, but if that's not feasible for you, consider setting up a hybrid approach where you do the sensitive parts locally and then send the less sensitive data to the cloud.
!bird migration~: Iโm actually unable to do it locally, so Iโm looking for alternatives that work well in a cloud environment.
Reply to this answer
Add your answer
Answers are reviewed before publication.
~+election observer: I can't go that route; I need the benefits of the cloud for scalability and flexibility.