Wednesday, November 28, 2012

Where to put PDF files + how to authenticate the urls requesting them

Hi

I have a little question: First, I am hosting my PDF files within /
static directory, (as my understanding is that they are static files),
so is this the correct way to host PDF files and downloadable files
generally ?

Second: Only authenticated users may view the links for those PDF
files, but what if someone knows the url of the files ? he can just
get them. So how to authenticate a url call to a static file ?

Thanks alot

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment