语言选择
English 简体中文 繁体中文 UTF-8
系统导航
本站新闻 : XOOPS Protector 2.21 中文版
作者 XoopsChina 于 2005年01月01日 15:47:17 (3200 次阅读) 该作者发布的其他新闻

推荐安装

Xoops Protector is a module to defend XOOPS2 from various and malicious attacks.

This module can protect four kind of attacks like:

- DoS
- SQL Injection
- XSS
- System global variable pollution

Xoops Protector defends you XOOPS from these attacks, and it records into its log.


Please install it as well as a usual module.

Turn "Protector block" on and put the block top of left side by blocks admin.
Turn the block's permission on to all groups by groups admin.
You can do that easily by using Blocks&Groups Admin of Protector.


I strongly recommend calling this module from mainfile.php also.
After Xoops Protector is installed, edit your mainfile.php like this:


define
('XOOPS_GROUP_ADMIN''1');
    
define('XOOPS_GROUP_USERS''2');
    
define('XOOPS_GROUP_ANONYMOUS''3');

    include( 
XOOPS_ROOT_PATH '/modules/protector/include/precheck.inc.php' ) ;

    if (!isset(
$xoopsOption['nocommon'])) {
        include 
XOOPS_ROOT_PATH."/include/common.php";
    }

Insert a line just before the line of
if (!isset($xoopsOption['nocommon'])) {

Both pre-check and block-check are needed.

评分: 0.00 (0 票) - 评分 -
上一篇 - 下一篇 打印模式 转发给朋友 生成该文件的PDF


其他文章
2005年12月19日 00:10:00 - Xoops China/广东
2005年12月18日 20:17:13 - 上海地区XOOPS用户聚会
2005年12月17日 21:08:02 - Xoops 简体中文版 2.25
2005年12月17日 20:57:41 - Xoops 2.2系列简体中文主要模块合集
2005年12月17日 12:54:40 - Xoops China北京地区成员首聚小记

网友个人意见,不代表本站立场。有问题请与作者联系。

 Re: XOOPS Protector 2.21 中文版

发表于: 01月03日 23:46  更新: 01月03日 23:46

karuna

网站管理员
注册于: 07月05日
来自:
发表数: 533
Additional Usage Tips FORM XOOPS-TIPS
1) uncheck Xoops Protector Module Access rights for the Registered Users group under Blocks&Groups Admin - it is not needed;
2) check block Protector for the Anonymous Users group; and
3) upload a blank or redirecting index.html to the protector directory to prevent directory listing (if you host does not provide by default)