Re: [fw-general] Files which are outside the public folder

2010-01-30 Thread Greg
For large files, http://tn123.ath.cx/mod_xsendfile/ is a good alternative to reading the file through php but allowing php to still maintain access control. On Fri, Jan 29, 2010 at 1:29 PM, holografix . hologra...@gmail.com wrote: Hi You can watch this cast and download the code. Maybe it

Re: [fw-general] Files which are outside the public folder

2010-01-29 Thread Ralph Schindler
Well, this is gonna be tricky. Ideally, they are simply served from the public directory. But if you want to add some level of access control around them, you'll need to put them outside of the public/ directory, and wrap the download in a PHP script that will do your access control.

Re: [fw-general] Files which are outside the public folder

2010-01-29 Thread holografix .
Hi You can watch this cast and download the code. Maybe it helps you. http://www.zendcasts.com/protecting-assets-with-zend-controller-plugins/2009/10/ Cheers holo 2010/1/29 Ralph Schindler ralph.schind...@zend.com Well, this is gonna be tricky. Ideally, they are simply served from the

[fw-general] Files which are outside the public folder

2010-01-28 Thread Kuzma
Hello! I've tried to search for the solution or any information about this question but I haven't found anything. The problem is: I have a page which loads JS video player which plays video files from the public folder to all users: as example video/id/xx/main.flv But I need, that logged in