I\'m serving \"sensitive\" information in downloadable PDF\'s and Spreadsheets within a user registration section of a site.
Is there a way to allow the django authe
If I understand your question correctly you want to restrict access to files that are not being served by Django, for example, with an Apache server?
What you would then require is some way for this Apache server to use Django as an authentication source.
This django snippet describes such a method. It creates an access handler in Django which is used by Apache when a request for a static file comes in that needs to be protected:
PythonPath "['/path/to/proj/'] + sys.path"
PythonOption DJANGO_SETTINGS_MODULE myproj.settings
PythonOption DjangoPermissionName ''
PythonAccessHandler my_proj.modpython #this should point to accesshandler
SetHandler None
Hope this helps, the snippet was posted a while ago, so things might have changed between Django versions :)