LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices



Reply
 
Search this Thread
Old 08-31-2007, 09:27 AM   #1
144419855310001
Member
 
Registered: Apr 2006
Distribution: ubuntu 7.04
Posts: 219

Rep: Reputation: 30
Protecting Shared Documents in XP


Hi

I have a vmplayer virtual machine running puppy linux on my windows xp partition. I want to be able to share files between them without fiddling about with a USB pendrive, so I set up a simple samba share between them - I activated "sharing" for the Shared Documents folder in XP and then mounted it on the linux guest.

However, I am concerned about the basic nature of sharing the documents in XP this way - anybody could connect to the Shared Documents folder it seems.

I would like to protect the file share by only making it accessible to certain IP addresses and also adding a password, but Documents sharing feature (Properties->Share when you right click on a folder) does not have this facility.

Is there anyway I can enable these features, or is there a better piece of (free) software out there that handles SMB file sharing in Windows that I could use?

Thanks
 
Old 08-31-2007, 12:18 PM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
VMWare sets up a private samba network between the host and the guest. I don't think it can be accessed from outside, though I am not certain of that and have never tried it.

I do know that on my system an ifconfig shows me the internal network address, but the only addresses I see for the host and the guest are the public addresses when I browse from another computer.
 
Old 09-01-2007, 10:49 AM   #3
144419855310001
Member
 
Registered: Apr 2006
Distribution: ubuntu 7.04
Posts: 219

Original Poster
Rep: Reputation: 30
Thanks, but that's not really relevant to what I was asking.

I know that the vmware's internal samba network is just that - internal.

My question is about sharing Documents in XP.

It's very easy to make a linux guest folder available to the Windows XP host. What I would like to be able to do is offer a folder on the host only to the guest linux machine.

Currently, using the simple Shared Documents feature which is available when you right click and go to Properties->Sharing, I can only make the guest folder available anybody and everybody on any network.

(In order for samba on the guest linux machine to 'see' what directories on the host machine are available to mount over vmnet1, sharing as described above has to be enabled for whichever directories you want to share).

However, this is not very secure as you're not able to put any sort of password controls/ IP controls on who can access the shared documents.

Is there any more professional/better software out there that people use to do this?
 
Old 09-01-2007, 11:16 AM   #4
Mcribs
LQ Newbie
 
Registered: Nov 2005
Location: Chicago
Distribution: Debian
Posts: 15

Rep: Reputation: 0
I own VMware Workstation and I'm able to target which directories I want to share between the host and the virtual machines. Maybe VMware Player doesn't have this feature. Or you are greatly over complicating file sharing since all you need to do is target your "home" folder to guaranty privacy - assuming you haven't turned sharing on for it.
 
Old 09-01-2007, 07:00 PM   #5
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
Quote:
Originally Posted by 144419855310001 View Post
Thanks, but that's not really relevant to what I was asking.

I know that the vmware's internal samba network is just that - internal.

My question is about sharing Documents in XP.

It's very easy to make a linux guest folder available to the Windows XP host. What I would like to be able to do is offer a folder on the host only to the guest linux machine.

Currently, using the simple Shared Documents feature which is available when you right click and go to Properties->Sharing, I can only make the guest folder available anybody and everybody on any network.

(In order for samba on the guest linux machine to 'see' what directories on the host machine are available to mount over vmnet1, sharing as described above has to be enabled for whichever directories you want to share).

However, this is not very secure as you're not able to put any sort of password controls/ IP controls on who can access the shared documents.

Is there any more professional/better software out there that people use to do this?
OK, I'm with you now. You would have to use a firewall on the Windows machine to block the shares from the view of any external machines. Windows doesn't provide the facilities to let you choose your host.

You can adjust the permissions to the shared folder, removing the "everyone" user and tightening permissions on just who is allowed to access the folder, but you can't keep it from being visible.

XP Pro will require an outside machine to authenticate (meaning you'll be prompted for username/password in order to access the share). I don't know what XP Home will do, but file security and permissions is one of the places where XP Home is cut down from Pro.
 
Old 09-01-2007, 07:10 PM   #6
masterclassic
Member
 
Registered: Jun 2007
Distribution: Knoppix
Posts: 140

Rep: Reputation: 23
I have no idea how vmware works, but I think that xp can give specific rights to various user groups (i.e. administrators, local users, everybody, etc). You could try to make a special group with that samba "user" as member.

Edit:
Quote:
You can adjust the permissions to the shared folder, removing the "everyone" user and tightening permissions on just who is allowed to access the folder, but you can't keep it from being visible.
Perhaps, it is possible to "hide" it given similar access permissions to the parent folder.

Last edited by masterclassic; 09-01-2007 at 07:15 PM.
 
Old 09-04-2007, 08:42 AM   #7
144419855310001
Member
 
Registered: Apr 2006
Distribution: ubuntu 7.04
Posts: 219

Original Poster
Rep: Reputation: 30
Quote:
I have no idea how vmware works, but I think that xp can give specific rights to various user groups (i.e. administrators, local users, everybody, etc). You could try to make a special group with that samba "user" as member.
Hmmm, not really... XP has "administrator" and "limited user" and that's about it. About the only other setting you can change is the login picture!


Thanks jiml8, seems like the only proper answer is a properly configured firewall to enable some sort of IP protection. Just shows the lousiness of XP when comes to any sort of networking.
 
Old 09-04-2007, 06:46 PM   #8
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
Quote:
Hmmm, not really... XP has "administrator" and "limited user" and that's about it. About the only other setting you can change is the login picture!
You must be using XP Home. XP Pro has a lot more capability that way. As I said in my previous post, this is one of the places where XP was cut down to make the "home" version.

Last edited by jiml8; 09-04-2007 at 06:47 PM.
 
  


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
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 04:19 PM
how can I view and edit "Documents to Go" documents in Linux? izquierdista Linux - Software 7 08-30-2007 08:58 AM
Wich encoding for shared documents? joaquin_win Linux - General 4 09-02-2005 03:57 PM
Shared Documents with access for Windows XP and Linux elmosgot Linux - Software 3 04-17-2005 11:45 AM
How to create Shared Documents Directory like in Windows XP? neranjana Linux - Newbie 1 01-11-2004 11:07 PM


All times are GMT -5. The time now is 11:20 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration