Re: Authenticating static content when not using mod_python

2007-10-23 Thread AndyB
(my reply via email doesn't appear to have made it to the list - sorry if the first paragraph is a repeat for anyone) Thanks Chris, I didn't know about this and it would be the ideal solution if I could get Dreamhost to install mod_xsendfile! Still hopefully this will be useful for someone out th

Re: Authenticating static content when not using mod_python

2007-10-22 Thread Chris Moffitt
> > > > My current plan is the following: > > 1. capture the file request url and direct it a view. > > 2. check user permissions > > 3. Get Python to construct the correct MIME header then read the > > requested file from disk and pipe it through to the user. > > > > If this is the best solution t

Re: Authenticating static content when not using mod_python

2007-10-18 Thread Graham Dumpleton
On Oct 19, 12:23 am, AndyB <[EMAIL PROTECTED]> wrote: > Sorry - I was trying to keep the question simple and generic. > > I am using Django under Apache and FCGI (Dreamhost's setup not mine) > > I need to prevent certain users from accessing certain static files to > prevent the guessing of URL's

Re: Authenticating static content when not using mod_python

2007-10-18 Thread AndyB
Sorry - I was trying to keep the question simple and generic. I am using Django under Apache and FCGI (Dreamhost's setup not mine) I need to prevent certain users from accessing certain static files to prevent the guessing of URL's for certain files and images. All the solutions I have seen so

Re: Authenticating static content when not using mod_python

2007-10-16 Thread Graham Dumpleton
On Oct 16, 11:58 pm, AndyB <[EMAIL PROTECTED]> wrote: > Hi folks, > > Am I right in thinking the only way to do is this under CGI etc. is to > either: > > 1. To use raw HTTP authentication > or > 2. To pipe all content through Python by reading the file in and > serving it from a view Can you exp

Re: Authenticating static content when not using mod_python

2007-10-16 Thread bedros
check out secdownload plugin using lighttpd server http://trac.lighttpd.net/trac/wiki/Docs%3AModSecDownload -Bedros On Oct 16, 6:58 am, AndyB <[EMAIL PROTECTED]> wrote: > Hi folks, > > Am I right in thinking the only way to do is this under CGI etc. is to > either: > > 1. To use raw HTTP authen

Authenticating static content when not using mod_python

2007-10-16 Thread AndyB
Hi folks, Am I right in thinking the only way to do is this under CGI etc. is to either: 1. To use raw HTTP authentication or 2. To pipe all content through Python by reading the file in and serving it from a view --~--~-~--~~~---~--~~ You received this message