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

After more searching, I discovered this:

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

Thanks! :)