Re: serving client uploaded files

2012-05-01 Thread Nenad Cikic
This looks interesting, thanks Il giorno martedì 1 maggio 2012 17:37:33 UTC+2, Tino de Bruijn ha scritto: > > You probably want to implement this with X-Sendfile (or X-Accel-Redirect > for Nginx) headers. Those tell the frontend server to serve a specific file. > > This explains it a bit. > http

Re: serving client uploaded files

2012-05-01 Thread Tino de Bruijn
You probably want to implement this with X-Sendfile (or X-Accel-Redirect for Nginx) headers. Those tell the frontend server to serve a specific file. This explains it a bit. http://stackoverflow.com/questions/1156246/having-django-serve-downloadable-files By googling you will find many example

Re: serving client uploaded files

2012-05-01 Thread Nenad Cikic
OK, thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/SCat4Yqd-gkJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe

Re: serving client uploaded files

2012-05-01 Thread Kurtis Mullins
You could use a pseudo-random filename so that it's very unlikely people will be able to easily find other's photos. If you're very concerned with users being authenticated before viewing the media (which to me, sounds like there won't be a huge load on that segment of your web application) then y