Security issues involve many aspects. Here we record the file permission issues. These are the basics and are used as a review.
File Permissions
Generally speaking
Directory permissions are 755
PHP files: 600 If the server requires write permission, others must set permission 7, such as the cache directory.
templetes require higher permissions during template installation, but they must be restored to the appropriate permissions after installation.
r: It is readable for files and browsable for directories.
w: It is writable for files. It can create, delete, modify and move directories.
x: It is executable for files and it is possible for directories. Enter
The above has introduced 13 Security, including aspects of it. I hope it will be helpful to friends who are interested in PHP tutorials.