- vsftpd进行加固,防止匿名登录
vim /etc/vsftpd/vsftpd.conf 修改配置文件
-
对 Apache进行加固,禁止目录列出
修改配置文件/etc/httpd/conf/httpd.conf
“Options Indexes FollowSymLinks”,修改为“Options -Indexes ”即可
-
加固php,使php脚本只能访问/var/www/html/files目录
vim /etc/php.ini
对 Apache进行加固,禁止目录列出
修改配置文件/etc/httpd/conf/httpd.conf
“Options Indexes FollowSymLinks”,修改为“Options -Indexes ”即可
加固php,使php脚本只能访问/var/www/html/files目录
vim /etc/php.ini