Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Security Tutorial  Protect Your Forums From Hackers
Author Message
Conor Calby
Posting Freak



Posts: 1,018
Joined: Jan 2010
Reputation: 15
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.

MyBBSource Support Team Member - MyBBSource Tutorials Team Leader
Official MyBB Support Tech
If I helped, why not rep me
04-19-2010, 06:36 AM
WMM
Member


Posts: 60
Joined: Jul 2009
Reputation: 2
Post: #2
RE: Protect Your Forums From Hackers
Thanks for advise =]
04-19-2010, 02:20 PM
thalada
Junior Member


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


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


Posts: 3
Joined: May 2010
Reputation: 0
Post: #5
RE: Protect Your Forums From Hackers
Thanks now my forums can have better security.
05-02-2010, 12:57 AM
ms365
MybbSource Skinner


Posts: 98
Joined: Dec 2009
Reputation: 1
Post: #6
RE: Protect Your Forums From Hackers
You can also add the super admins thing.
05-06-2010, 05:26 AM
euantor
Posting Freak



Posts: 888
Joined: Jun 2009
Reputation: 7
Post: #7
RE: Protect Your Forums From Hackers
You could also password protect the admin directory via .htaccess and, for extra security, lock access to the admin directory to a limited number of IP addresses only. I just password protect mine with a randomly generated password and my admin directory's name consists of random letters and numbers.
05-06-2010, 08:04 AM
alfityus
Junior Member


Posts: 4
Joined: May 2010
Reputation: 0
Post: #8
RE: Protect Your Forums From Hackers
Thanks
05-09-2010, 02:52 AM
telters
Junior Member


Posts: 30
Joined: Jan 2010
Reputation: 0
Post: #9
RE: Protect Your Forums From Hackers
Thanks for the tutorial. I know I sometimes worry about my forum's security, and although I keep backups, trying to restore everything all over again would be a pain. Anything I can do to prevent that is great !
06-02-2010, 01:04 PM
Don+
Member


Posts: 61
Joined: Aug 2010
Reputation: 0
Post: #10
RE: Protect Your Forums From Hackers
It was already posted by Zash, yeah !??
08-21-2010, 10:18 AM
 




User(s) browsing this thread: 2 Guest(s)