Re: Static content protection

2009-08-05 Thread Ronghui Yu
My solution now is enclosing the file with a HttpResponse and then return. It is a bit slow.I wonder if we can create a Apache module(or module for other server) to authenticate access to specific file. I don't have experience on this. On Thu, Aug 6, 2009 at 11:59 AM, Dj Gilcrease wrote: > > On

Re: Static content protection

2009-08-05 Thread Dj Gilcrease
On Wed, Aug 5, 2009 at 7:28 PM, TheIvIaxx wrote: > > Hello, I have a question that probably spans a few different groups. > However I know this setup is familiar withing the django community. > > I have apache handling all django/python stuff and have lighttpd > handling the static content.  All i

Re: Static content protection

2009-08-05 Thread theiviaxx
The only thing i can find right now is to deny access based on the remote ip. Not the best solution, but for internal it may work. Filter with a regex possibly. On Aug 5, 7:32 pm, Ronghui Yu wrote: > I have the similar problem. Could not find a good way either. > > > > > > On Thu, Aug 6, 2009 a

Re: Static content protection

2009-08-05 Thread Ronghui Yu
I have the similar problem. Could not find a good way either. On Thu, Aug 6, 2009 at 9:28 AM, TheIvIaxx wrote: > > Hello, I have a question that probably spans a few different groups. > However I know this setup is familiar withing the django community. > > I have apache handling all django/pyth

Static content protection

2009-08-05 Thread TheIvIaxx
Hello, I have a question that probably spans a few different groups. However I know this setup is familiar withing the django community. I have apache handling all django/python stuff and have lighttpd handling the static content. All is well,works fine and fast. Auth is my problem on the stati