vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Ultimate Guide to securing your Forums (https://vborg.vbsupport.ru/showthread.php?t=193930)

veenuisthebest 10-17-2008 10:00 PM

Ultimate Guide to securing your Forums
 
Securing your forums from Hackers:-

1. Always Keep your vbulletin updated to the latest version taking special care of security fixes.

2. Use the Rename admincp directory feature in config.php

3. Keep your following directories .htaccess protected. Most users can do this via Password Protect Directories option in cPanel.

admincp/
modcp/
includes/
install/

Even vbulletin.com has protected the above directories.

4. Edit your config.php to make yourself an undeletable user.

5. Keep your vbulletin superadmin, FTP/SFTP and .htaccess username/password distinct and unique. You can use the Random Password Generation feature in cPanel or let sites like http://www.goodpassword.com/ generate them for you.

6. Make sure you have your vbulletin PHP files chmod 0644 and NEVER 0777.

7. Keep your forum as much clean as you can. Stay away from mods that you think won't benefit your community much. The lesser the mods, the more secure you are.

8. After uninstalling mods/hacks from vborg, do not forget to Remove the files that you uploaded with the hack.

9.Never allow HTML in posts, PM's and sigs.

10. You should NEVER upload the contents of do_not_upload folder like tools.php from the downloaded vb zip on your server. If ever you need to upload them, delete them immediately after use.

11. Never save a backup of your database under public_html as that would make your database downloadable to the world.

12. Keep your PC periodically tested against viruses, malwares and trojans.

13. For official vb staff's always updated tips and tricks to make your forums more and more secure, visit this thread.
http://www.vbulletin.com/forum/showthread.php?t=194701


Securing your forums from Spammers:-

I think this thread by the official vb staff will be enough for taking care of our spam problems.
http://www.vbulletin.com/forum/showthread.php?t=275800

Some points to highlight:-


1. Use Recaptcha and Add an Extra question to the Registration to prevent bot registrations.

2. There's no harm in getting an Akismet Personal Key and enabling the option in admincp->vbulletin options->Spam Management. You may set the Spam Scanning Post Threshold to 2 or 3.

3. List of email domains to Ban

4. You can ban usernames containing words like sale, offer etc. in User Registration Options->Illegal Usernames

5. I would largely recommend this mod from Andy Huang (vb staff) that Detects Spam based on Keywords Weight. It works perfect on my latest 3.7.3.PL1 board and believe it or not, I could see the human spammer (from who's online ofcourse) getting an error message while creating a thread and leaving the board frustrated.

Hope you find it useful, will keep it updated.

Source: http://tech6.com/f51/ultimate-guide-...r-forums-t319/

P.S.: Please do not copy this guide.

Alex LD 10-19-2008 09:31 PM

Great tutorial.

Also keep in mind to help make staff change their passwords to prevent a hacker from cracking the hash if he does get his hands on it. It is also a good Idea to password protect the ModCP and AdminCP Directory once You've renamed them just for safety. This can be done in your hosting control panel. Like cPanel, Plesk, DirectAdmin etc...

~ Alex

raznaran 10-26-2008 03:59 PM

Handled

creative-friend 04-11-2009 10:42 PM

3. Keep your following directories .htaccess protected. Most users can do this via Password Protect Directories option in cPanel.

admincp/
modcp/
includes/
install/

Can You Explain This Please....

veenuisthebest 04-12-2009 02:39 AM

Quote:

Originally Posted by creative-friend (Post 1789272)
3. Keep your following directories .htaccess protected. Most users can do this via Password Protect Directories option in cPanel.

admincp/
modcp/
includes/
install/

Can You Explain This Please....

umm.. its pretty much self explanatory i guess.

As said, go to cpanel -> Password Protect Directories -> and simply protect those 4 directories.

Provide a secure username/pass, NOT the same as your admincp/ftp etc.

creative-friend 04-17-2009 11:17 AM

ohh okay
thanks.

--------------- Added [DATE]1239970774[/DATE] at [TIME]1239970774[/TIME] ---------------

sorry for asking you again but how shall i put password on that??
im not really sure...

joyboy2001 07-13-2009 10:20 AM

great guide ... thanks ...

bluej 08-16-2009 06:54 AM

Quote:

Originally Posted by veenuisthebest (Post 1789374)
umm.. its pretty much self explanatory i guess.

As said, go to cpanel -> Password Protect Directories -> and simply protect those 4 directories.

Provide a secure username/pass, NOT the same as your admincp/ftp etc.

could someone explain this a little better for us that are newer at this but would like to do what we can to secure our sites...

what cpanel is he talking about? in vbulletin? at the database? :confused:

thanks so much :)

veenuisthebest 08-18-2009 07:00 AM

There is just one cpanel. Its the site administration control panel at the server level. If you don't know about it, you probably haven't used it. You'll need to contact your host about this.

bluej 09-07-2009 01:46 AM

Quote:

Originally Posted by veenuisthebest (Post 1869617)
There is just one cpanel. Its the site administration control panel at the server level. If you don't know about it, you probably haven't used it. You'll need to contact your host about this.

contacted my host about this and they said that since i am on shared hosting that it was a file that i would have to create myself ...

how do i create the .htaccess file and where do i put it? in each of the folders you listed?

also on #11 (11. Never save a backup of your database under public_html as that would make your database downloadable to the world.) how do i know whether or not my backup is under public_html?


sorry for being so new at this, still learning...thanks for your help :)


All times are GMT. The time now is 11:22 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01358 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete