A website I'm developing requires several directories to have their permissions set to 0777. The directories are used as cache directories for HTML and PHP files generated by the website.
The website doesn't require any "upload" scripts for users to upload content.
Will a hacker be able to upload files to the 0777 directories without the aid of an upload script on my website?
How vulnerable are the 0777 cache directories? What's the best way to protect them in this situation?