Hello,

I am using Django to create an album application. I was planning to
use djangos user system for authorization, however the final image
viewing will be like:

     <img src="{{ image.url }}">

Where image.url should resolve to something like 
http://static-images.com/path/to/image.jpg

Here http://static-images.com is another apache virtual host which
only serves static content. However this scheme fails miserably when
it comes to authorization - anyone can completely bypass my django app
(with authorization) and point their browser to:

    http://static-images.com/path/to/image.jpg

Any suggestions of how to combine django based authorization with
serving of static content? I am the owner of the box in question and
can modify the apache setup way beyond my competence.

Regards - Joakim Hove

-- 
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.

Reply via email to