Issue
I have a localhost with files all 777 permission. but if i want to upload them on a real server, what is their correct secure permission for each file type:
php, html, css, js, png and directories
thanks a lot
Solution
In server mostly recommended that directories permissions should 755 and files 644. In permissions 777 are not recommended due to security reasons.
Answered By - Bobbin Zachariah Answer Checked By - Katrina (WPSolving Volunteer)