Question2Answer 安全

来源:互联网 发布:淘宝上如何捐赠旧衣物 编辑:程序博客网 时间:2024/06/04 19:21

http://www.question2answer.org/secure.php

Question2Answer 已经很安全了,可以阻止 SQL injectioncross-site scripting (XSS), cross-site request forgery(CSRF)等

额外的安全防护有:

1、删除qa-include 目录中的qa-install.php文件

2、将qa-config.php文件移出web服务器目录,在相同的位置新建一个 qa-config.php,通过 require PHP function函数引用老的文件

3、定期备份数据库。为节省空间,下面的表不用备份:qa_cacheqa_contentwordsqa_iplimitsqa_posttags,qa_sharedeventsqa_tagwordsqa_titlewordsqa_usereventsqa_userlimitsqa_words.这些表要么是临时的,要么可以通过其他表重新计算得出。

0 0