aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2]

Author Topic: WebServer (php) mysql support  (Read 6631 times)

lfroen

  • Guest
Re: WebServer (php) mysql support
« Reply #15 on: November 27, 2005, 08:15:43 AM »

Quote
nowbody wants that the other can see what kind of porno you are downloading at the moment

Ok, I will say this again. Only 1 (one) time can file be put in download queue. When 2-nd student will attempt to download same porn, that 1-st already downloading, amule will tell him nicely: "no,no, you can't have it - another user downloading it".
Same thing happens with shared files and searches.

Now, I'm not against an idea of such "multiuser webinterface". I'm against using mysql for holding list of hashes.
Logged

ydear

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: WebServer (php) mysql support
« Reply #16 on: November 27, 2005, 03:16:30 PM »

Quote
When 2-nd student will attempt to download same porn, that 1-st already downloading, amule will tell him nicely: "no,no, you can't have it - another user downloading it"

Yes, you are right of course but this is only a problem in case of 2 users. For that i have no solution.
But for more than 2 users you simpley don't tell the username of the other person downloading the file.
And the example with the porn was just an extreme one. I generally like to keep my personal data private even if i'm downloading suse.

I also want to say, that I am just for a multi user support for the webinterface. In my optinion this is not a problem. Root can also read and write  ~/ from all users.
Logged

lfroen

  • Guest
Re: WebServer (php) mysql support
« Reply #17 on: November 27, 2005, 04:13:44 PM »

Quote
Yes, you are right of course but this is only a problem
Unfortunatly, this is on only problem, but this a major one.

Quote
example with the porn was just an extreme one
Yea, right.

Quote
Root can also read and write ~/ from all users
So what ? amule(d) is not running as root. So, how exactly you manage to write, set owner and permissions of files in other users directories ?
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: WebServer (php) mysql support
« Reply #18 on: November 28, 2005, 06:58:40 AM »

You can work with groups.
Each User has his own group and incoming dir with Sticky bit set and write permissions for his group on that. One separate user that runs amule is in all groups of the users.
And if you download 2 files at the same time, you can just download one, and give a copy to the second user.
Logged
Homefucking is killing prostitution
Pages: 1 [2]