Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have regular user access to a friend's root server. I can put my data there and he (as a normal user) could not read my data, but with the root account he could.

If I use something like en encrypted home folder, he could still read the data when I am logged in. Is there some way to protect the data in a way that only I can read it and not root?

share|improve this question

2 Answers 2

up vote 4 down vote accepted

Encrypt the data on your computer, then send it to his. You can use gpg for this. If you want to be able to log on to his computer and access the files, then no, there is nothing you can do to prevent root from spying on you; if you don't trust the computer, then you can not use it to handle sensitive information.

share|improve this answer

You can use some software to encrypt data. Two most popular choice are

TrueCrypt is very advanced tool. It also allow you to create virtual encrypted devices.

Both are freely available.

share|improve this answer
    
I think my question is not clear enough. I know about these tools. The problem is, whenever I mount such an encrypted volume, root would potentially have access to that mounted partition. How would I prevent that? –  queueoverflow Jul 7 '12 at 15:44
    
Are you talking about mounting them locally on that root server -- or remotely from your machine? –  Izzy Jul 7 '12 at 21:52
    
That is kind of my question. Locally mounting it probably no option, but I do not know a tool for mounting it remotely. –  queueoverflow Jul 8 '12 at 12:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.