TGK Posted September 3, 2018 Share Posted September 3, 2018 hi i have a question. i move my attachments folder to non-public directory that folder now is secure? i mean people or my site visitors cannot access on this folder ? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted September 3, 2018 Share Posted September 3, 2018 Hi @TGK Our recommendation as per https://docs.whmcs.com/Further_Security_Steps We recommend moving all writeable directories to a non-public location above your web root to prevent web-based access. Once you move it to a private folder ensure you add the following line to your configuration.php file $attachments_dir = "/home/username/attachments/"; In the above example, "username" is the cPanel username and so the 3 folders are located in the home directory, above public_html. 0 Quote Link to comment Share on other sites More sharing options...
TGK Posted September 7, 2018 Author Share Posted September 7, 2018 hi @WHMCS ChrisDHello Chris. I did what you recommend me, but I wonder if the directory attachment is now secure from all public access. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.