حتما شما بیشتر از خود سایت WHMCS.COM که این راهکار را برای این سیستم معرفی نموده اند ، اطلاع دارید
کد:
Move the attachments, downloads & templates_c folders
The three folders "attachments", "downloads" and "templates_c" need to be writeable by WHMCS and therefore require the permissions 777 (writeable by all). When folders have this permission level it is safer to place the folders outside of the public accessible folder tree on your website. WHMCS allows you to do this. If you do move the folders, then you must tell WHMCS where they have been moved to by adding the following lines to the configuration.php file:
$templates_compiledir = "/home/username/templates_c/";
$attachments_dir = "/home/username/attachments/";
$downloads_dir = "/home/username/downloads/";
In the above example, "username" is the cpanel username and so the 3 folders are located in the home directory, above public_html.
Note that if you are running suphp or phpsuexec you should not make the mode changes as the folders will already be writeable. In fact, you cannot set folder or file permissions to be 777 when running suphp or phpsuexec - the highest permissions are 755 for both folders and files.
متن عینا از لینک زیر کپی شده است:
Further Security Steps - WHMCS Documentation