Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 04-27-2012, 02:45 AM   #1
LQ Newbie
Registered: Apr 2012
Posts: 17

Rep: Reputation: Disabled
drives and folders lock

Does linux offer the service of locking a drive/folder/file with one's own password?if yes how?
Old 04-27-2012, 02:52 AM   #2
Registered: Apr 2007
Distribution: Ubuntu
Posts: 105

Rep: Reputation: 19
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).
Old 04-29-2012, 11:43 AM   #3
Senior Member
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, RHEL, Fedora Core, FreeBSD, Windows x64
Posts: 1,804
Blog Entries: 36

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
error opening some folders in external drives gachu Linux - Newbie 2 06-25-2009 07:22 PM
How to share folders on different drives via FTP sean_zhang Linux - Server 6 05-07-2008 03:46 AM
Removed .lock files in /etc, now user folders missing ews208 Linux - Server 6 08-22-2007 01:53 PM
Folders moving themselves between drives tmoorman Mandriva 1 07-12-2005 02:43 PM
how to share win2k folders/drives to RedHat 8? kublador Linux - Networking 3 03-24-2003 08:02 PM

All times are GMT -5. The time now is 09:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration