LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Protect folder with password (https://www.linuxquestions.org/questions/linux-newbie-8/protect-folder-with-password-903930/)

loveulinux 09-19-2011 09:16 PM

Protect folder with password
 
Hi...All, Is there any way that how to protect main folder with password on Ubuntu, CentOS?

corp769 09-19-2011 09:22 PM

Hello,

Are you talking about your home directory? Ubuntu has the option to encrypt your home directory when you install it, and I think you can also do it after the fact that it is installed. Truecrypt can also be an option for you, and you also have pgp/gpg as encryption that you could use. As far as using a password for directories, even if it were possible to do it like so, root would still be able to have access. Encryption is what you want to thrive for as far as protecting your information.

Cheers,

Josh

dudeman41465 09-19-2011 11:07 PM

In addition to the post above, you could always just make a separate user account for the person you don't want getting into your files, and then not give them your password.

loveulinux 09-19-2011 11:39 PM

Protect folder with password
 
I need to protect folders which are going to store in the USB external HDD, not in local machine. And that hard disk will often be giving to everyone employee for temporary backup purpose. Now every user is having root access on their local machine and they will be able view other's folder when they connect that HDD in their machine. Is there any way by which we can protect the main folders of every one user even from root by giving their own password?
Does true crypt has this ability?


Quote:

Originally Posted by corp769 (Post 4476675)
Hello,

Are you talking about your home directory? Ubuntu has the option to encrypt your home directory when you install it, and I think you can also do it after the fact that it is installed. Truecrypt can also be an option for you, and you also have pgp/gpg as encryption that you could use. As far as using a password for directories, even if it were possible to do it like so, root would still be able to have access. Encryption is what you want to thrive for as far as protecting your information.

Cheers,

Josh


corp769 09-19-2011 11:46 PM

Yes it does! I highly recommend that you check it out, as using truecrypt, you are able to create individual partitions on whatever disk you may use. Here is the site - http://www.truecrypt.org/
As far as installing it on ubuntu, have a look here - https://help.ubuntu.com/community/TrueCrypt

loveulinux 09-19-2011 11:50 PM

Protect folder with password
 
Okay, Thank you very much. Then I will try it.

Quote:

Originally Posted by corp769 (Post 4476771)
Yes it does! I highly recommend that you check it out, as using truecrypt, you are able to create individual partitions on whatever disk you may use. Here is the site - http://www.truecrypt.org/
As far as installing it on ubuntu, have a look here - https://help.ubuntu.com/community/TrueCrypt


corp769 09-19-2011 11:53 PM

Not a problem! Any more issues you have?


All times are GMT -5. The time now is 05:12 PM.