Re: [gnome-network]File sharing from Nautilus



Hello,

I have a few ideas regarding this and I was woundering  if they were
feasible.

1) gst-network: Basicly, a gst-network tool is created (or equivalent).
root has to open up gst-network and allow user blah to share, and some
basic share options. Blah can now share folders because of thos
settings.
What happens behind the scene is that gst-network creates a shared
folder with the appropriate protocol in ~/.gnome-network/smb/ (or
whatever). Now when a user wants to share a folder a (symbolic?) link is
created to the folder in  ~/.gnome-network/smb/.
This has the added plus of having the gst backends which will allow gst
to work for many distros and clients (do we really want to force people
to use a specific web client?).

2) network-sudeamon: This is simmilar in a way to gdm. root sets up what
each user can do. Now, each user has his own client app that talks with
the deamon and asks the deamon to remove/add shares and so forth.
Just like gdm this should all probably happen through pipes. This is
more flexible in the sense that there isn't a need for symbolic link
'hacks', and could give the user more control over things like should
the share be anonymous/r+w/etc... The biggest disadvantage is that if
there is a security whole, it means the user could even gain root
access, while with the first idea, there is no interaction between a
user and root.
Also, a gst-backend abstraction type system could be used here as well
(which I think is very important).

Are these ideas even pratical?

Thanks
-Daniel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]