You can write apache auth module in python, which is calling your external (django) code.
It's not exactly Django issue. Maybe this blog post could help you http://www.thoughtspark.org/node/25 A. On Mon, Feb 16, 2009 at 10:44 AM, MrMuffin <thomas.weh...@gmail.com> wrote: > > I`m using django to develop something similar to flickr, a site for > photo-sharing. Photos can be public, need authentication or be > personal and not available for anyone but the owner. Serving static > data using django is not optimal, but how can I control access like > this when serving static media using apache or nginx? > > Thanks in advance. > > > -- ------------------------------------------------------ Ales Zoulek +420 604 332 515 Jabber: ales.zou...@gmail.com ------------------------------------------------------ --~--~---------~--~----~------------~-------~--~----~ 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-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---