Login Register






[Tutorial] Nine Methods to Protect Your MyBB Forums filter_list
Author
Message
[Tutorial] Nine Methods to Protect Your MyBB Forums #1
[Tutorial] Nine Methods to Protect Your MyBB Forums
Here I will share some simple tips on how to safeguard our MyBB forum, basically MyBB is already very safe. Each code was written with a net, but here I'll give tips for MyBB us MORE safe again. But before I begin, I want to emphasize that NOTHING IS 100% SAFE ON THE INTERNET. So if you say you've been following my tips but still got hack too, it's not necessarily my fault, but maybe just a mistake or maybe your own hoster. Because of security itself is relative.

Keep Your Passwords Strong!
The number 1 cause of hacking attempts going well is bad passwords on the administrator's behalf. It is not hard to make a good password. If you are that lazy, I will generate one for you!

In fact, since a phishing attempt has been made on my account at Digital Point, I keep all of my passwords for important accounts (like PayPal) so complicated that even I don't know them! I actually have to take out a slip of paper and type it in every single time I want to log in. That's how important it is.

Your passwords should be cryptic, contain uppercase and lowercase letters, numbers, and symbols. It should also be at least 16 characters, maybe more. In fact, according to Blogussion, a simple ten character password can take up to 580 million years to decode! Now isn't that the kind of protection you would want?

Deny External Access to the Config File
Sometimes, plain old permissions isn't enough. This is an .htaccess method that will give anybody who tries to access the config file a 403 error. Your MyBB Forums will still be able to run normally, however. This will protect it from external access only.

Create an .htaccess file in your 'inc' directory, and add the following code:
Quote:
# Protect the config.php file
<files config.php>
Order deny,allow
deny from all
</files>
Protect the admin page using htaccess
In part this may be followed or not because at risk. We will make the rules in. Htaccess to allow only certain IP can access the admin page. This is probably a very steady way to protect the admin pages, but remember ... could have been any time you can not get online on your own computer for example, online using your friends computer, but I will share. Okay, make it. Htaccess file in the directory. / Admin, then insert the following code
Quote:
RewriteEngine On
RewriteBase /
RewriteCond% {REMOTE_HOST} ^ 12 \ .345 \ .678 \ .9
RewriteRule .* http://www.google.com [R = 301, L]
ip 12 \ .345 \ .678 \ .9 can be replaced with your ip, and if different ip with being entered will be automatically redirected to http://www.google.com

Rename Your Admin Directory
Everyone on the support forums just can't stress this enough! It is very important that you rename your admin directory. How does somebody hack an admin area if they do not know where the files are located? It's very simple, actually.

To do this, enter your web host's control panel and go to the File Manager. Alternatively, you can use an FTP program like FileZilla. Find the directory called 'admin', and simply rename it to something else (it is suggested to rename it to something cryptic, like 87y2ut).

Then, find the config.php file in the 'inc' directory. Look for the following code:

Quote:
* Admin CP directory
* For security reasons, it is recommended you
* rename your Admin CP directory. You then need
* to adjust the value below to point to the
* new directory.
*/

$config['admin_dir'] = 'admin
Hide the link Admin Control Panel (ACP)
By default MyBB will display a link to the admin page. Usually located at the top of the forum, the link "ACP". Well, it helps us also to hide this link. So if for example there who made ​​it into our admin account, he still could not find its admin page. The way is as follows: Open the file / inc / config.php and find the line:
Quote:
$config['hide_admin_links'] = 0;

and change 0 to 1

Quote:
$config['hide_admin_links'] = 1;

then save it
Turn off HTML in posts
You know HTML Injection? know ... well, by default MyBB was then filter the HTML code in the post, but it helps us to "convince" again in order MyBB will never allow the HTML into the post, or in other words MyBB should filter down well every HTML code that the input by the member / user. How?, OK to open PhpMyAdmin then run the following query:
Quote:
UPDATE `mybb_forums` SET `allowhtml` = '0';
After that, go to ACP> Tools & Maintenance> Cache Manager> forums> Rebuild Cache. Yup, MyBB is not going to bother with HTML in user input.

Hide MyBB version
Inform our forum version is tantamount to saying "hackers, this version of my forum. Search for bugs there ... haha, we must hide the version of our forums., Go to ACP> Configuration> General Configuration> Show Version Numbers> Off. completed

Make sure you use the latest version of MyBB.
Come on ... do not be lazy to upgrade your forum. I have explained it. If MyBB released a new version of its CMS, can be sure there are bugs that have been found in its version before. And of course you MUST to upgrade it! how can you look at the MyBB Wiki

Do not use too many plugins!.
I do not forbid you to use the plugin, you just want to legitimately use any plugins that you think cool. But remember, the plugin develop by a third party! not by the official developers MyBB. Bug can be found on the plugin are you using now! therefore, make sure the plugin you're using it secure and clean from all sorts of bugs. 1-4 plugins is enough, it was important that the taste alone. As anti-spam for instance. The more complex a plugin, the greater the likelihood also contains bugs!

sorry I do not speak english fluently
if there is a mistake to write please let me know

Reply

RE: [Tutorial] Nine Methods to Protect Your MyBB Forums #2
Nice tutorial!

May I suggest some better formating? I think its needed...
Staff will never ever ask you for your personal information.
We know everything about you anyway.

Reply

RE: [Tutorial] Nine Methods to Protect Your MyBB Forums #3
suggestions and then tell me if I am wrong in this tutorial to edit me
!llusion brings you a complete tutorial about providing forums in mybb
because I only understand about insurance so for now
I see that you are an admin here and have strong knowledge of multiple
Bring us invite a full tutorial about security in MyBB
Thank you

Reply

RE: [Tutorial] Nine Methods to Protect Your MyBB Forums #4
its a other tutuorial

credit : http://www.rianul.com/blog/how-to-secure...ybb-forum/

How to : Secure Your MyBB Forum
Forum security is always a top priority, it’s very important to protect your forum from MyBB security threats and avoid hackers and exploits. MyBB is a very secure forumForum security is always a top priority, it’s very important to protect your forum from MyBB security threats and avoid hackers and exploits. MyBB is a very secure forum, but just like all forum software, it’s not 100% perfect but it’s always improving. MyBB security should be your first concern when maintaining your forum, this is a MyBB security tutorial with some guidelines to help increase security on your forum, here is the tutorial :

1.) Use a password that is STRONG and always on the Update

You Can Use random.org to create or Generate Strong Password .and Update Your Password Every 1 weeks .

2.) Check Your CHMOD permissions

Check Your CHMOD permissions For just a precaution, make sure you check the CHMOD permissions on the file manager. Directories should be 755, and 644 files. Config.php file you can change it to 444 if you like. As its structure is as follows :

/Inc/settings.php => 666
/Inc/config.php => 666 ( install ) 444 ( after installation )
/cache/ => 777
/cache/themes/ => 777
/uploads/ => 777
/uploads/avatars/ => 777
/admin/backups/ => 777

3.) Change Your Admin Directory Path

Go To Inc Foder Then Click Config.php ,Edit It You Will Find :

$config['admin_dir'] = ‘admin’;

You Can Change it For Example :

$config['admin_dir'] = ‘admin-lol’;

Now Rename /admin/ directory to /admin-lol/ . then Your Admin CP Path Will Be :

www.myforum.com/admin-lol/

4.) Protect your config.php file :

To prevent direct access to the config.php file, it helps you make the rules. Create a file .htaccess in the directory /inc/, and enter the following :

<files config.php>
Order deny, allow
deny from all
</ Files>

5.) Do not use too much Plugin

I do not forbid you to use the plugin you want is fine pake plugins that you think is good. But remember, plugins develop by the third party! not by the developer’s official MyBB. Bug can be found in the plugin are you using now? therefore, make sure the plugin you are using the secure and free from all kinds of bugs. 1-2 plugin is enough, in the sense that it was important. As anti-spam for example. The more complex a plugin, the greater the possibility there was a bug!

* Dont Use Tabs And Mytabs Plugins *
* Dont Use Google Seo Plugins *

6.) Protecting Against Injections Use PHP-Firewall

Download PHP-Firewall Via :

http://adf.ly/CFIaZ <= Only 5 Second ,it will not hurt you

Done ? . Upload the Files And To Install Edit Global.php
And Add this code :

define(‘PHP_FIREWALL_REQUEST_URI’, strip_tags( $_SERVER['REQUEST_URI'] ) );
define(‘PHP_FIREWALL_ACTIVATION’, true );
if ( is_file( @dirname(__FILE__).’/php-firewall/firewall.php’ ) )
include_once( @dirname(__FILE__).’/php-firewall/firewall.php’ );

7.) Disable Anonymous Ftp And Use Normal Ftp And Make Sure To Use Strong Password

Check your Cpanel And Make Sure That You password is Strong For Some People That Dont use Cpanel In There Vps , Add Extra user & pass For PhpMyadmin By Using Htaccess & Make Sure That It have User And Pass By Default & Configured Properly And Passwords Should Be Strong And not Like Each Others

8.) Hide MyBB version

its Simple ,Here is The way :

go to admin CP > Configuration > General Configuration > Show Version Numbers > Off

9.) Hide admin CP links

Also in the config.php file is an option to hide the Admin CP links, good for MyBB security and for after changing your admin URL directory in case if your administrator account gets compromised. Find:

$config['hide_admin_links'] = 0;

Change the “0″ to “1″, make sure you remember where your admin directory is. ( Your admin Directory is /admin-lol/ ,lol )

10.) Turn off HTML in posts

By default it is disallowed, and I recommend you keep it that way unless you know your members very well. Allowing HTML opens MyBB security vulnerabilities on your forum.

11.) Run File Verification occasionally for MyBB security checks

If you notice something not right or functioning properly like it’s supposed to, you should run File Verification in Admin CP > Tools & Maintenance. This tool will check for valid MyBB files upon installation, it will return missing or corrupted files if any. Use this knowledge to replace any forum files if needed, you should be able to do this easily with a forum directory backup.

12.) Make sure you use the latest version of MyBB.

do not be lazy to upgrade your forum >Smile . If MyBB CMS released its new version, can be sure there are bugs that have been found in its prior version. And of course you MUST upgrade to it! how can you look at the MyBB Wiki.

13.) Backup your forum regularly

This is really important for MyBB security, either in case your forum gets compromised or your forum’s files are corrupted and beyond repair. In Admin CP > Tools & Maintenance > Database Backups is where you can run a New Backup of your forum’s database. In Task Manager there’s a task called Weekly Backups (disabled by default) to run backing up your database automatically for you. Enable this task, I prefer to run it daily though for extra MyBB security. These backups are stored on your server and you can download them anytime you want, make sure you chmod the backups directory to 777 inside your admin directory.

Also don’t forget to backup your forum directory using FTP, or if you use cPanel use the cPanel Backup option for your forum.



Ok, Hopefully helpful and Thank you for Visiting my Little Blog


tutoroal by MUHAMMED RYAN BACHDIM

credit : http://www.rianul.com/blog/how-to-secure...ybb-forum/

Reply

RE: [Tutorial] Nine Methods to Protect Your MyBB Forums #5
its a other tutuorial

credit : http://www.rianul.com/blog/how-to-secure...ybb-forum/

How to : Secure Your MyBB Forum
Forum security is always a top priority, it’s very important to protect your forum from MyBB security threats and avoid hackers and exploits. MyBB is a very secure forumForum security is always a top priority, it’s very important to protect your forum from MyBB security threats and avoid hackers and exploits. MyBB is a very secure forum, but just like all forum software, it’s not 100% perfect but it’s always improving. MyBB security should be your first concern when maintaining your forum, this is a MyBB security tutorial with some guidelines to help increase security on your forum, here is the tutorial :

1.) Use a password that is STRONG and always on the Update

You Can Use random.org to create or Generate Strong Password .and Update Your Password Every 1 weeks .

2.) Check Your CHMOD permissions

Check Your CHMOD permissions For just a precaution, make sure you check the CHMOD permissions on the file manager. Directories should be 755, and 644 files. Config.php file you can change it to 444 if you like. As its structure is as follows :

/Inc/settings.php => 666
/Inc/config.php => 666 ( install ) 444 ( after installation )
/cache/ => 777
/cache/themes/ => 777
/uploads/ => 777
/uploads/avatars/ => 777
/admin/backups/ => 777

3.) Change Your Admin Directory Path

Go To Inc Foder Then Click Config.php ,Edit It You Will Find :

$config['admin_dir'] = ‘admin’;

You Can Change it For Example :

$config['admin_dir'] = ‘admin-lol’;

Now Rename /admin/ directory to /admin-lol/ . then Your Admin CP Path Will Be :

www.myforum.com/admin-lol/

4.) Protect your config.php file :

To prevent direct access to the config.php file, it helps you make the rules. Create a file .htaccess in the directory /inc/, and enter the following :

<files config.php>
Order deny, allow
deny from all
</ Files>

5.) Do not use too much Plugin

I do not forbid you to use the plugin you want is fine pake plugins that you think is good. But remember, plugins develop by the third party! not by the developer’s official MyBB. Bug can be found in the plugin are you using now? therefore, make sure the plugin you are using the secure and free from all kinds of bugs. 1-2 plugin is enough, in the sense that it was important. As anti-spam for example. The more complex a plugin, the greater the possibility there was a bug!

* Dont Use Tabs And Mytabs Plugins *
* Dont Use Google Seo Plugins *

6.) Protecting Against Injections Use PHP-Firewall

Download PHP-Firewall Via :

http://adf.ly/CFIaZ <= Only 5 Second ,it will not hurt you

Done ? . Upload the Files And To Install Edit Global.php
And Add this code :

define(‘PHP_FIREWALL_REQUEST_URI’, strip_tags( $_SERVER['REQUEST_URI'] ) );
define(‘PHP_FIREWALL_ACTIVATION’, true );
if ( is_file( @dirname(__FILE__).’/php-firewall/firewall.php’ ) )
include_once( @dirname(__FILE__).’/php-firewall/firewall.php’ );

7.) Disable Anonymous Ftp And Use Normal Ftp And Make Sure To Use Strong Password

Check your Cpanel And Make Sure That You password is Strong For Some People That Dont use Cpanel In There Vps , Add Extra user & pass For PhpMyadmin By Using Htaccess & Make Sure That It have User And Pass By Default & Configured Properly And Passwords Should Be Strong And not Like Each Others

8.) Hide MyBB version

its Simple ,Here is The way :

go to admin CP > Configuration > General Configuration > Show Version Numbers > Off

9.) Hide admin CP links

Also in the config.php file is an option to hide the Admin CP links, good for MyBB security and for after changing your admin URL directory in case if your administrator account gets compromised. Find:

$config['hide_admin_links'] = 0;

Change the “0″ to “1″, make sure you remember where your admin directory is. ( Your admin Directory is /admin-lol/ ,lol )

10.) Turn off HTML in posts

By default it is disallowed, and I recommend you keep it that way unless you know your members very well. Allowing HTML opens MyBB security vulnerabilities on your forum.

11.) Run File Verification occasionally for MyBB security checks

If you notice something not right or functioning properly like it’s supposed to, you should run File Verification in Admin CP > Tools & Maintenance. This tool will check for valid MyBB files upon installation, it will return missing or corrupted files if any. Use this knowledge to replace any forum files if needed, you should be able to do this easily with a forum directory backup.

12.) Make sure you use the latest version of MyBB.

do not be lazy to upgrade your forum >Smile . If MyBB CMS released its new version, can be sure there are bugs that have been found in its prior version. And of course you MUST upgrade to it! how can you look at the MyBB Wiki.

13.) Backup your forum regularly

This is really important for MyBB security, either in case your forum gets compromised or your forum’s files are corrupted and beyond repair. In Admin CP > Tools & Maintenance > Database Backups is where you can run a New Backup of your forum’s database. In Task Manager there’s a task called Weekly Backups (disabled by default) to run backing up your database automatically for you. Enable this task, I prefer to run it daily though for extra MyBB security. These backups are stored on your server and you can download them anytime you want, make sure you chmod the backups directory to 777 inside your admin directory.

Also don’t forget to backup your forum directory using FTP, or if you use cPanel use the cPanel Backup option for your forum.



Ok, Hopefully helpful and Thank you for Visiting my Little Blog


tutoroal by MUHAMMED RYAN BACHDIM

credit : http://www.rianul.com/blog/how-to-secure...ybb-forum/

Reply