13 Security

WBOY
Release: 2016-07-30 13:30:22
Original
1001 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!