I have a WordPress website. If I give all files 644 permissions to have better security and prevent malware getting inside my website, will that break anything?
-
1Try it out and find out? – Frank W. Mar 3 '16 at 7:47
-
it will not break anything for as long as the server (apache or nginx or whatever you're using) is the owner of these files. – Igor Yavych Mar 3 '16 at 7:52
-
i just tried it and its brocken my website. what i wnat is : prevent anybody to edit or add or delete files but still can read it 554 or i dont know which permission i need to use – ahmd a Mar 3 '16 at 8:03
-
Changing File Permissions and Hardening WordPress are a recommended read :) – dingo_d Mar 3 '16 at 8:07
-
i read it already but this recommended will not prevent website form malware – ahmd a Mar 3 '16 at 8:21