LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-15-2008, 11:46 AM   #1
Broder
Member
 
Registered: Oct 2006
Location: Santa Barbara, C.A.
Distribution: Mood dependent
Posts: 117

Rep: Reputation: 15
Password protecting a directory/file


Hi,

Is it possible to password protect a directory on Fedora with gnome such that the security would still be intact if the folder was transferred onto a usb (vfat) and onto a windows xp machine?
 
Old 10-15-2008, 01:29 PM   #2
Mark_in_Hollywood
Member
 
Registered: Jan 2006
Location: USA
Distribution: Ubuntu - Bionic Beaver
Posts: 133

Rep: Reputation: 16
Copy folder/directory to the thumb drive. Open the filemanager of the contents of the thumb drive. Highlight the directory you wish to secure. Right click and select Permissions. Set permissions to your preferences. Of course, if you have set it "read only" you CANNOT expect to then copy it to another drive. This should be OS independent.
 
Old 10-15-2008, 02:02 PM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Setting permissions on files/directories won't provide any sort of security for data which will be stored on removable media. You need to use encryption, and probably the most popular multi-platform software for that is TrueCrypt. Of course, if you don't need to actually use the data from within Windows, then you don't need any multi-platform solution. I usually just use the openssl command to encrypt stuff with AES 256, like:
Code:
openssl enc -aes-256-cbc -salt -in example.tar.gz -out example.tar.gz.enc
If you want a directory where anything you put in gets encrypted and you don't care about accessing it in Windows maybe give eCryptfs a try. Ubuntu's next release (Intrepid Ibex) will be putting it to good use.

Last edited by win32sux; 10-15-2008 at 02:54 PM.
 
Old 10-16-2008, 01:31 AM   #4
Broder
Member
 
Registered: Oct 2006
Location: Santa Barbara, C.A.
Distribution: Mood dependent
Posts: 117

Original Poster
Rep: Reputation: 15
Cheers guys, looks like TrueCrypt is what I'm looking for. Thanks.
 
  


Reply



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
protecting file / folder with a password saurabhvasa Linux - Security 2 09-09-2008 03:54 AM
Apache2 Password protecting a directory taj Linux - Server 4 06-23-2008 07:24 PM
Password protecting a directory possible? Freestone Linux - Newbie 7 06-08-2006 01:54 AM
password protecting a folder ankit_mcgill Linux - General 4 04-14-2006 03:46 AM
Password protecting a directory? How? Thrifty Linux - Security 7 07-20-2004 08:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:48 PM.

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