aMule Forum

English => Feature requests => Topic started by: emi on May 28, 2007, 10:02:14 AM

Title: aMule multiuser
Post by: emi on May 28, 2007, 10:02:14 AM
Hi there!!
   I posted this on spanish forum of new features (Spanish > Nuevas funciones > aMule Multiusuario), getting some views but any response. May be here it should be reply'ed... Ah! I'm not english speaker, so it's more than possible to find errors on grammar, vocabulary, etc.

   First of all, congratulations to all the people that have done amule possible!!! I'm very  ;D with it.

   I've been using aMule since I use P2P, next to 3 years ago. I'm very happy with it: with the deamon I never lose connection. But actually I share my amule deamon with more people, and we've seen we need amule to permit or deny visualization or change from some downloads. I mean: every download should be from each user or just from all. Every download should have owners and permissions, like linux files, to avoid other users to read/write changes in some downloads (you know, privacy  ;)).

   I've thought that this can be done ?easily? taking profit to the now existing tabs. Just adding owner and permissions to some tab/download and also adding different amuled identification (same possibilities as the system? just looking in /etc/shadow to do connections?) so then amule-gui will only show what is visible and permit to change what is writable (just like linux filesystems).

   If you're amuled programer, may be this questions can help you on developping:
  * How amuled will handle all of it beeing executed NOT as root? Beeing some kind of amule user with some special privileges, but not too much (we continue loving linux security)?
  * Wich user will be able to create new tabs? root? amule? every one? configuration depending option?
  * Will different users be able to create new tabs for their own downloads? (Music, films, books, ...)

   I supose that you, programmers, will think on many thousands of questions more than these refered to this possible new feature.

   ¿What's your opinion? I think this should be very interesting, and a qualitative differenciator from other ED2K clients...

   PLEASE, REPLY TO THIS TOPIC!!

   Regards,
   emi
Title: Re: aMule multiuser
Post by: lfroen on May 28, 2007, 10:30:12 AM
This feature already been discussed numerous times (you should be searching forum before posting new feature request).
I will summarize past discussions:
* You can't really prevent people from seeing (or taking) files one from another
* You can use categories to separate users
* Adding feature as you (and others) suggest is not really possible due to number of technical reasons (the way ed2k proto works)
Title: Re: aMule multiuser
Post by: GonoszTopi on June 11, 2007, 05:10:48 PM
Actually, there is a way to implement such a feature, we just have to make distinction between aMule users and linux users.

That is: aMule(d) would run as a normal linux user, as it did before, and internally implements a list of users (name, password).
Each aMule user  could have different Incoming directory, that's not hard to implement at all.
Each shared/downloading file (CKnownFile) would have an owner and a Private/Public flag.
So, when you log in via aMuleGui or aMuleWeb, you'd enter your username and password, and would only see your downloads/shares, plus all public ones.

Security issues:
- As all virtual aMule user share the same linux user account, there is no way to prevent people accessing each other's files (downloads, shares), unless we implement a way to "upload" and "download" files with the Gui/Web client, since everyone has to have access to the same linux user account to access their files. This "downloading" was already discussed somewhere in this forum.
- Once we implement file access in the form of "uploading" shared files and "downloading" finished incoming files, this issue can be eliminated, i.e. noone needs to have access to the real linux user account which aMule(d) uses.
Title: Re: aMule multiuser
Post by: emi on June 11, 2007, 06:46:40 PM
I did not understand at all what you said:

 * Can you connect with amule-gui with a different user than amule?
 * Where do you configure that? When I attempt to log into amule server, amule-gui lets user amule and unchangeable....
 * Where do you add users?
 * Where do you put special user-permissions to tabs or downloads?
 * Or, simply, this is a feature comming in nexts versions of amule/amule-gui?

Thanks for answering, after 178 views !!!

Regards,
emi
Title: Re: aMule multiuser
Post by: wuischke on June 11, 2007, 08:18:18 PM
Currently there are no multiuser capatibilities.
EC is designed to support multiple users (hence the unchangeable username field), but this feature is not used.

This feature might be implemented in future versions of aMule.
Title: Re: aMule multiuser
Post by: emi on June 12, 2007, 12:22:42 PM
What is EC?
And, again, thanks for the info. I'll wait and may be learn/practice some C++ to help improve new versions.

See you over there,
emi
Title: Re: aMule multiuser
Post by: wuischke on June 12, 2007, 02:12:56 PM
EC is external connections, the protocol used for the communication between aMule(d) and amuleweb, amuleGUI and amulecmd.