Actually i'm aware of a PHP Web Folder. There seems to be some potentials of incoming attacks. So that i want to make sure this whole directory is READ-ONLY (Only writable by ROOT).Let's say the directory: /var/www/html/mywebsite/ (recursively)Since it is a Web folder, there are users like apache and other respective users who owns the files/directories. So regardless of whatever user(s) are inside:How do i make that directory only writable by root only? (Not even by Apache)Thank you!
How to make a NON-WRITABLE directory?
permissions;filesystems;security;chmod