On Dec 12, 2007, at 3:19 PM, Robert Coup wrote:
> > On 13/12/2007, Thomas Güttler <[EMAIL PROTECTED]> wrote: >> How can you check that only authorized users can access >> some files? >> >> Files which have a coresponding FileField in the model: How can >> you test that only some people are allowed to see it? >> >> Apache can't do it. Or at least it would be complicated. > > It's not /that/ complicated... > http://www.djangoproject.com/documentation/apache_auth/ > Apache auth is not all that difficult, no. Setting up access control using Location blocks and authenticating against the Django user database is a bit of an undertaking, however. It'd be nice to see the ticket Chris posted get accepted into trunk. It's still not quite as simple as Robert was initially looking for, but it's a big step in the right direction. -- Kevin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---