Secure file uploads
Posted: Tue Jun 02, 2009 4:27 pm
Hi guys.
I'm totally new to CMSMS so forgive me if this is a stupid question.
I'm playing around with a new install of CMSMS to see if it would be suitable for a site I'm building.
One of the main requirements is that we have a secure area for files to be downloaded (basically to ensure that only registered users can access these files). Now, if this was a hand coded PHP site I would place the files above the public_html directory (so that the files are not accessible by a direct http url).
So, my question is... Can I do the same with the uploads directory?
I notice that config.php has a 'uploads_path' and 'uploads_url'. In my case however, there wouldn't be a valid uploads_url (as the directory is not directly accessible).
thanks
I'm totally new to CMSMS so forgive me if this is a stupid question.
I'm playing around with a new install of CMSMS to see if it would be suitable for a site I'm building.
One of the main requirements is that we have a secure area for files to be downloaded (basically to ensure that only registered users can access these files). Now, if this was a hand coded PHP site I would place the files above the public_html directory (so that the files are not accessible by a direct http url).
So, my question is... Can I do the same with the uploads directory?
I notice that config.php has a 'uploads_path' and 'uploads_url'. In my case however, there wouldn't be a valid uploads_url (as the directory is not directly accessible).
thanks