Re: File storage: Filesystem vs Database

2009-09-22 Thread Tom Evans
On Tue, 2009-09-22 at 08:12 -0700, Charles Wang wrote: > I have a question for "make apache deliver it". How to control the > access right? Integrate apache access auth model with Django? > > On Sep 22, 10:37 pm, Javier Guerra wrote: > > On Tue, Sep 22, 2009 at 8:09 AM, Jonas Obrist wrote: > >

Re: File storage: Filesystem vs Database

2009-09-22 Thread Javier Guerra
On Tue, Sep 22, 2009 at 10:12 AM, Charles Wang wrote: > I have a question for "make apache deliver it". How to control the > access right? Integrate apache access auth model with Django? not exactly, the idea is that the file isn't under apache's DocumentRoot, so it won't have it's own URL. ins

Re: File storage: Filesystem vs Database

2009-09-22 Thread Jonas Obrist
Thanks to both Javiers! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-u

Re: File storage: Filesystem vs Database

2009-09-22 Thread Javier Rivera
Charles Wang escribiu: > I have a question for "make apache deliver it". How to control the > access right? Integrate apache access auth model with Django? X-Send-File could send any file that apache can access not only files on the "www path". It can send a file that is not accessible by url as

Re: File storage: Filesystem vs Database

2009-09-22 Thread Charles Wang
I have a question for "make apache deliver it". How to control the access right? Integrate apache access auth model with Django? On Sep 22, 10:37 pm, Javier Guerra wrote: > On Tue, Sep 22, 2009 at 8:09 AM, Jonas Obrist wrote: > > I wanna store files (attachments to forum posts) outside the MEDI

Re: File storage: Filesystem vs Database

2009-09-22 Thread Javier Guerra
On Tue, Sep 22, 2009 at 8:09 AM, Jonas Obrist wrote: > I wanna store files (attachments to forum posts) outside the MEDIA_ROOT > to restrict file downloads to registered users. So I'd have to server > them through django instead of apache. What would be the better way to > do this: Store them in

File storage: Filesystem vs Database

2009-09-22 Thread Jonas Obrist
Hi django-users I wanna store files (attachments to forum posts) outside the MEDIA_ROOT to restrict file downloads to registered users. So I'd have to server them through django instead of apache. What would be the better way to do this: Store them in a the database or store them in the filesy