bbPress Security
-
Can I use this wp plugin for bbpress?
< ?php
/*
Plugin Name: Block Bad Queries
Plugin URI: http://perishablepress.com/press/2009/12/22/protect-wordpress-against-malicious-url-requests/
Description: Protect WordPress Against Malicious URL Requests
Author URI: http://perishablepress.com/
Author: Perishable Press
Version: 1.0
*/
global $user_ID;
if($user_ID) {
if(!current_user_can(‘level_10′)) {
if (strlen($_SERVER) > 255 ||
strpos($_SERVER, “eval(“) ||
strpos($_SERVER, “CONCAT”) ||
strpos($_SERVER, “UNION+SELECT”) ||
strpos($_SERVER, “base64″)) {
@header(“HTTP/1.1 414 Request-URI Too Long”);
@header(“Status: 414 Request-URI Too Long”);
@header(“Connection: Close”);
}
}
}
?>
And tell me how can I make my forums more secure?
Nedd Tips and Tricks!!
And did anyone make any security concern plugin for bbpress?
Thanks,
Pagal
You must be logged in to reply to this topic.