LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-29-2007, 02:24 AM   #1
Instantly
Member
 
Registered: Dec 2004
Posts: 78

Rep: Reputation: 15
Linux Security


I have Kubuntu 7.04 and WinXP
when I run Kubuntu I can see all the files of winXP(even the files in the password protect user account)

could windows see the files of Kubuntu too? If yes, how can I protect my Linux files from windows?
 
Old 06-29-2007, 03:27 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
There are tools for Windows that allow you to read some Linux
native file-systems, and yes, that would allow a windows user
to see your files that your created under Linux no matter what.

To work around this you might want to have a look at encfs, for
example, or one of the other user-space file-encryption tools
(or encrypting file-systems, for that matter). They will allow
you to only access your files under a given, special mount-point
after you have entered a password. For Linux you could tie that
in with PAM (in other words, when you log in those files become
accessible automatically), if you were in windows you can see (for
encfs, that is) garbled names and have no idea what the contents of
the files would be. All you can spot is their size and date.



Cheers,
Tink
 
Old 06-29-2007, 03:53 AM   #3
Instantly
Member
 
Registered: Dec 2004
Posts: 78

Original Poster
Rep: Reputation: 15
I didnt get it 100%
should I download encfs or PAM?
 
Old 06-29-2007, 04:13 AM   #4
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
PAM is (most certainly) already installed, its the Linux authentication system used in virtually every distribution (at least it should be). Im not sure if its used outside of Linux tho. Anyways, all it does is authenticate users by use of modules, i assume Tinkster is referring to using this system to tie in your authentication password with the disk encryption password, anyways, im sure there is better info online somewhere about this specific.

encfs is a encrypted filesystem (i think, that, or its a generic term from any encrypted file system). If its not a specific file system, then Tinkster is probably refering to lookback encryption, or use of the device mapper system in Linux (dm-crypt i think its called) to encrypt regular file systems.

In any case, all of this should already be in your OS, im not sure about device mapper tho, you might have to install it by hand. In any event, it should provide you with a good read if your interested in whole filesystem encryption (as its the only way to protect files from being read by another OS). (note: the Linux kernel recommends against using loopback encryption with modern journaled filesystems, so you should probably use the device mapper to get encryption).
 
Old 06-29-2007, 04:32 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by SciYro
encfs is a encrypted filesystem (i think, that, or its a generic term from any encrypted file system). If its not a specific file system, then Tinkster is probably refering to lookback encryption, or use of the device mapper system in Linux (dm-crypt i think its called) to encrypt regular file systems.
encfs is a FUSE-based encrypted filesystem that
I quite happily use.



Cheers,
Tink
 
Old 06-29-2007, 05:37 AM   #6
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
oo, thanks Tinkster, ignore my suggestion everyone, looks like encryption has come a very long way since i last looked at it.
 
Old 06-29-2007, 10:19 AM   #7
Instantly
Member
 
Registered: Dec 2004
Posts: 78

Original Poster
Rep: Reputation: 15
should I download encfs or is it already found with Kubuntu?

and how can I use it.... where could I find a tut about using encfs...
sorry, but I need ur help
 
Old 06-29-2007, 10:39 AM   #8
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
perhaps using google to find encfs's somepage, there is a good link around the top:
http://arg0.net/wiki/encfs
it has links to other help pages. As for if its installed with your distro, that is a task thats up to you to find out, perhaps looking at the package manager to see if its already installed?
 
Old 06-29-2007, 03:41 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by Instantly
should I download encfs or is it already found with Kubuntu?

and how can I use it.... where could I find a tut about using encfs...
sorry, but I need ur help
It isn't part of the default install in Ubuntu,
but a simple apt-get install encfs will do.

You also want to add your user to the fuse group.

As for the tutorial; it's really quite easy, and
the man-page gives exhaustive information.


Cheers,
Tink
 
  


Reply


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
help needed in security ,vonarabilities ,loopholes in linux security haseebnazar Linux - Security 2 11-23-2005 07:16 PM
todays requirements regarding security (not limited to linux security) markus1982 Linux - Security 8 04-25-2004 10:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:36 AM.

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