[mirrorbrain-commits] r8192 - /trunk/mod_mirrorbrain/mod_mirrorbrain.c

2010-11-04 Thread poeml
Author: poeml Date: Thu Nov 4 12:13:53 2010 New Revision: 8192 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8192&view=rev Log: mod_mirrorbrain: - The module did not work when access was restricted with authentication (e.g. Basic Authentication), due to a broken check which simply need

Re: [mirrorbrain] Authenticating downloads?

2010-11-04 Thread Peter Pöml
On Wed, Nov 03, 2010 at 02:27:49PM +0100, Peter Pöml wrote: > [...] > You'd probably want to restrict access to the "backend" to localhost. > That could mean that MirrorBrain refuses to do its job, due to the fact > I mentioned before, regarding requests that require authentication > (where there i

[mirrorbrain-commits] r8193 - /trunk/mod_mirrorbrain/mod_mirrorbrain.c

2010-11-04 Thread poeml
Author: poeml Date: Thu Nov 4 13:37:55 2010 New Revision: 8193 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8193&view=rev Log: mod_mirrorbrain: minor code cleanup Modified: trunk/mod_mirrorbrain/mod_mirrorbrain.c Modified: trunk/mod_mirrorbrain/mod_mirrorbrain.c URL: http://svn.m

Re: [mirrorbrain] Authenticating downloads?

2010-11-04 Thread Peter Pöml
Hi, On Wed, Nov 03, 2010 at 02:27:49PM +0100, Peter Pöml wrote: > > I know it's not really relevant, but probably interesting anyway… we were > > rather hoping that the mirrors wouldn't have to communicate with a central > > database, so I figured the easiest way to do it would just be to put an >

Re: [mirrorbrain] Authenticating downloads?

2010-11-04 Thread Peter Pöml
On Thu, Nov 04, 2010 at 03:27:27PM +0100, Peter Pöml wrote: > I spent a little time playing with this. I basically implemented > creating such temporary links in MirrorBrain. > > A quick and easy way to implement this is adding two things to the URL: > the request time as seconds since epoch, and