Create a folder outside main web folder
For security purposes, i just want to move all uploaded files outside my main web folder.
1
vote

You have a private-html folder precisely for this purpose. Check this KB for reference:
https://support.cloudways.com/securing-application-configuration-files-in-private_html-folder/
Let us know if you have any question/comment.
Cloudways Team
-
Jake Pucan commented
It's now working. Thank you
-
AdminCloudways (Admin, Cloudways) commented
You have a private-html folder precisely for this purpose. Check this KB for reference:
https://support.cloudways.com/securing-application-configuration-files-in-private_html-folder/Let us know if you have any question/comment.
Cloudways Team