LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   drives and folders lock (https://www.linuxquestions.org/questions/linux-security-4/drives-and-folders-lock-942030/)

MURIITHI P 04-27-2012 02:45 AM

drives and folders lock
 
Does linux offer the service of locking a drive/folder/file with one's own password?if yes how?

es0teric 04-27-2012 02:52 AM

There are a few options.

Most versions of Linux offer a way to encrypt home directories during install. This stores the filesystem encrypted on disk and then decrypts when the files are needed. This adds overhead and can potentially impact performance, of course.

If you just have a certain file or directory you want to keep secret, you can use symmetric encryption with gpg. I periodically tar up big directories, encrypt them with gpg, and then upload them to a backup archive. You just have to remember the password(s). :)

sag47 04-29-2012 11:43 AM

TrueCrypt is another option. You can create an encrypted drive as a file and it will mount within the filesystem.


All times are GMT -5. The time now is 02:06 PM.