Tags:
I know of 2 methods to get round this:
1.)Store the files in (for example) media/restricted_downloads, and put a .htaccess file in there that denys from all. Then once you have done you acl, read the file, and send it to the browser, eg something like:
header('Content-type: application/zip');
header('Content-Disposition: attachment; filename="'.$filename.'"');
readfile($filePath);
flush();
2.)Same thing, but store the files above the webroot.
I made my own little component to download files from a secure location (http://www.ignitejoomlaextensions.com/component/option,com_idownloa...), it is only one file (no admin interface, but if you want, I can post it somewhere.
© 2012 Created by Amy Stephen.