MyBB Source


Enter the Guess MyBB 1.6 Release Date Contest

New Mod Released in BETA for All Premium Members!

Latest Releases: Mark Thread Read - Password Change - Mark Unread

 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Protect Your Forums From Hackers
Author Message
ccalby
Tutorials Team Leader



Posts: 667
Joined: Jan 2010
Reputation: 7
MyBux: 728
Post: #1
 Protect Your Forums From Hackers
Hacking is something that worries most of us, in this tutorial, I will give tips on how to protect your forum from hackers!

1)Download using an FTP client /inc/config.php from your forum and open it in a text editor (NetBeans, NotePad, ETC).

Inside the config.php file, you will see
PHP Code:
$config['admin_dir'] = "admin"
Change it to
PHP Code:
$config['admin_dir'] = "newadmindir"
(Where "newadmindir", replace with your own new directory (For Example: chocolate, pop, dog, ETC)

Save that config.php file and re-upload it to the inc folder and overwrite the old config.php file.

Now, go to public_html/[forumroot] and change the name of the "admin: folder

Test it out by going to your forum homepage and then try accessing the admincp. Did it work?



2)Download and install this plugin to your forum.


3)Take regular database backups.


This should help prevent hacking, not make it impossible.

Regards,

--Conor


euantor Wrote:Also, password protect your admin directory via .htaccess (or via cpanel ;P) and make sure to set all the correct CHMOD permissions.

CreateMyBB and RunBB Support Team Member and MyBBSource Tutorial Team Leader
If you like my tutorials, Please Rep me Thanks

MyBBSource Tutorials Are Located Here! - http://mybbsource.com/forum-40.html
04-19-2010 06:36 AM

Advertisement

blackkn1ght
Premium User


Posts: 18
Joined: Jul 2009
Reputation: 0
MyBux: 130
Post: #2
RE: Protect Your Forums From Hackers
Thanks for advise =]

04-19-2010 02:20 PM
thalada
Junior Member


Posts: 24
Joined: Apr 2010
Reputation: 0
MyBux: 4
Post: #3
RE: Protect Your Forums From Hackers
gonna try this
04-22-2010 11:27 PM
coder
Junior Member


Posts: 3
Joined: Apr 2010
Reputation: 0
MyBux: 0
Post: #4
RE: Protect Your Forums From Hackers
Yea ive done this along time ago , very good idea.
04-24-2010 03:02 AM
 





Web Design | Web Design Jobs