1.3 Security,1.3Security
安全问题涉及到很多方面此处就记录下文件权限问题,这都是基础,当做复习一下。
文件权限
<p>一般来说 <p>目录权限为755 <p>PHP files: 600 (如果你是个偏执狂,就设置400) <p>HTML and image files: 644 (如果你是个偏执狂,就设置444) <p>如果文件服务器需要写入权限则其他人要设置权限7,比如cache目录。 <p>在模板安装的时候templetes需要更高的权限,但是安装之后要恢复到合适的权限。 <p>r: 对文件而言是可读,对目录是可浏览 <p>w: 对文件是可写入, 对目录是可新建,删除,修改,移动 <p>x: 对文件是可执行,对目录是可进入</p>

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Atom editor mac version download
The most popular open source editor

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SublimeText3 Chinese version
Chinese version, very easy to use
