Question2Answer 安全

http://www.question2answer.org/secure.php
Question2Answer 已经很安全了,可以阻止 SQL injection, cross-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_cache, qa_contentwords, qa_iplimits, qa_posttags,qa_sharedevents, qa_tagwords, qa_titlewords, qa_userevents, qa_userlimits, qa_words.这些表要么是临时的,要么可以通过其他表重新计算得出。

转自: http://blog.csdn.net/masofeng/article/details/47312393

花下眠工作室: http://huaxiamian.cc

猜你喜欢

转载自huaxiamian.iteye.com/blog/2320086
今日推荐