I have a PHP-based web site running on an apache server (at ipowerweb). On this site, users can upload files, and I want those files to only be downloadable by that user, a group of viewers, and administrators.
How do I accomplish this? Does PHP have some way to do it, or do I have to use tha apache-based security to limit access to files by writting out .htaccess and .htpasswd for each directory? Can a php script in a public directory serve a file in a sercure directory to a user as though that file were part of the php script?
Please email me if you can help:
cdmurray_80 AT hotmail.com

