I have a few questions about FTP and Apache. In an ideal situation, I'd like to have an FTP account have access to a single folder storing templates (Smarty template [.tpl] files), and these FTP users will only be able to edit and upload template files.
If it is not possible to restrict file types, I would like scripts in the directory to not be able to retrieve any files outside the directory. For example, my designers would not be able to upload a PHP script that is able to read the Database password.
Structure
- /
- /templates/ - should be able to only hold .tpl files, or scripts cannot retrieve information from outside folders
- /common.php - storing MySQL pass, should not be able to be retrieved from scripts inside /templates/
- /templates/ - should be able to only hold .tpl files, or scripts cannot retrieve information from outside folders
Thanks in advance for your help, and if any clarification is needed, please ask.

New Topic/Question
Reply



MultiQuote





|