Re: django images nginx and authentication

2009-10-15 Thread Graham Dumpleton
On Oct 15, 9:41 pm, ReneMarxis wrote: > Hello > > i'm faceing the following problem: i have some application for > creating image galleries (upload/change...). > Till now the images are served by an nginx webserver (and are > therefore open to everyone). The django app is running in apache with

Re: django images nginx and authentication

2009-10-15 Thread ReneMarxis
Many thanks. i will try that out. But sounds to be a good solution :) On 15 Okt., 15:00, tback wrote: > Hi Rene, > > look at this:http://wiki.nginx.org/NginxHttpSecureDownload. I personally use > lighttpd and mod_secdownload and googled the above. > > It works like this: > Your django applicati

Re: django images nginx and authentication

2009-10-15 Thread tback
Hi Rene, look at this: http://wiki.nginx.org/NginxHttpSecureDownload. I personally use lighttpd and mod_secdownload and googled the above. It works like this: Your django application and your image server(s) share a secret. Your application takes the secret, the url and a timestamp to generate a

Re: django images nginx and authentication

2009-10-15 Thread tback
Hi, it seems that my first post didn't go through. I'm personally using lighttpd with mod_secdownload. But google just gave me this this: http://wiki.nginx.org/NginxHttpSecureDownload I'm pretty sure it will serve your needs. cheers, tback On Oct 15, 12:41 pm, ReneMarxis wrote: > Hello > > My

django images nginx and authentication

2009-10-15 Thread ReneMarxis
Hello i'm faceing the following problem: i have some application for creating image galleries (upload/change...). Till now the images are served by an nginx webserver (and are therefore open to everyone). The django app is running in apache with wsgi. My problem is i need to restrict the image d