Author

Topic: Can you encrypt vps data so a provider could never access it? (Read 138 times)

legendary
Activity: 3346
Merit: 3125
This is a tricky question... because I don't think the data need to be encrypted to block access from the provider.

You can change the Root password and the user password, that should be enough to block their access.

If you want to encrypt your database that's possible with: https://www.mysql.com/products/enterprise/encryption.html

If you want to encrypt your bash scripts, then shc is the right tool: https://linuxscriptshub.com/ways-encrypt-linux-shell-scripts/

And another nice way to make them confused is by changing the ports in the services.

So, I hope this information helps to make more secure your VPS.
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
No, at the end of the day it's on their hardware. And they can grab anything coming in and out of it. Since at some point in time you would have to input the decryption key for the machine to boot and you would have to do that at the console or at least virtual console level, they could grab it from there.

What you MIGHT and that is a big might be able to do is within your VM setup an encrypted disk. And through some creative encrypted tunneling set the decryption key.

But, as Loyce pointed out they could probably force in something either by reading the RAM.

I guess the other option is to host in a data center / provider that allows you to bring in your own hardware.

-Dave

copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
For this very reason this was created: https://www.torproject.org/

If you're using a trustworthy VPS, that isn't going to screw you with the first chance, then route your traffic through Tor. Tor doesn't offer only privacy; it offers censorship resistance. Law enforcement can't shut down something they can't locate.

I think to use tor you have to closely scrutinise how to set up bridges though? If you're not using a bridge, it's likely you'll be tracked by law enforcement or other entities running enough nodes (iirc, with tor, whoever wants their privacy protected the most normally has the resources to track everyone else - at least they have in the past when how many nodes your data hops was static a few years ago).
hero member
Activity: 1659
Merit: 687
LoyceV on the road. Or couch.
I don't think that's possible. The host can dump the memory and extract any decryption keys in there.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
For this very reason this was created: https://www.torproject.org/

If you're using a trustworthy VPS, that isn't going to screw you with the first chance, then route your traffic through Tor. Tor doesn't offer only privacy; it offers censorship resistance. Law enforcement can't shut down something they can't locate.

But, if you're asking if you can host your site to a VPS with it having zero access, then no. You either keep your files at your home, and run the website without this concern, or you trust someone else do it for you.
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
This came to my mind recently because of how a lot of more centralised projects (like mixers and exchanges) can be attacked by law enforcement and taken down. I'm wondering if there's a way projects can be fully encrypted within a vps instance so the vps provider wouldn't be able to access the actual services running (but they'd still be easy to patch for the owner).

I was doing some related reading about a prototype for blockchain level cloud services and stumbled upon Intel SGX and AMD SEV which seem to offer hardware level encryption but I'm not sure of their scope and if keys could be snapshot.
Jump to: