List Info

Thread: Allowing downloads for only certain users




Allowing downloads for only certain users
user name
2007-12-18 15:50:56
What is the best way to serve static media and only letting
certain
users (using django.contrib.auth) download that data?

Thanks,
Ryan Kaskel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Allowing downloads for only certain users
user name
2007-12-18 16:40:37
On Dec 18, 2007 3:50 PM, Ryan K <ryankaskelgmail.com> wrote:
> What is the best way to serve static media and only
letting certain
> users (using django.contrib.auth) download that data?

http://www.djangoproject.com/documentation/apache_auth/


-- 
"Bureaucrat Conrad, you are technically correct -- the
best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Allowing downloads for only certain users
country flaguser name
United Kingdom
2007-12-18 18:12:26
Ryan K wrote:
> What is the best way to serve static media and only
letting certain
> users (using django.contrib.auth) download that data?
> 
> Thanks,
> Ryan Kaskel

http://blog.lighttpd.net/articles/2006/07/02/x-sendfile
http://tn123.ath.c
x/mod_xsendfile/

Jonathan.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Allowing downloads for only certain users
user name
2007-12-18 18:25:28
It would be great if the apache_auth module had a user
passes test
function instead of using permissions. Here is a good
article on using
lighttpd w/ mod_secdownload:

http://isdevelopment.weblog.g
lam.ac.uk/news/en/2006/nov/30/secure-downloads-django/

On Dec 18, 7:12 pm, Jonathan Buchanan
<jonathan.bucha...gmail.com>
wrote:
> Ryan K wrote:
> > What is the best way to serve static media and
only letting certain
> > users (using django.contrib.auth) download that
data?
>
> > Thanks,
> > Ryan Kaskel
>
> http://blog.lighttpd.ne
t/articles/2006/07/02/x-sendfilehttp://tn123.ath.cx/mod_xsen
dfile/
>
> Jonathan.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )