It is possible to method for Apache to permit or deny personal files download after checking with Django for permission?

That's, I would like the consumer to possess a permission within Django to find out when the user has got the privileges to some file. And, when the user has got the permission, Apache would start the file download. Or, when the permission isn't set for your user, the download is refused.

Thanks Eric

I do not think it is possible like this. Why not serve the file through Django itself? See http://djangosnippets.org/snippets/365/

After more searching, I discovered this:

http://stackoverflow.com/questions/2294507/how-to-return-static-files-passing-through-a-view-in-django/2302520#2302520

I believe this is exactly what I is going to do.

Thanks! :)