HOWTO: Secure your vBulletin sensitive data
vBulletin is a very secure web application. Except the fact that it has the database, user name and password included into a readable text file.
There is a very simple way to correct this issue. Basically, you grab the sensitive information and you move it outside the public area. Secured vBulletin config.php file Let's presume your server has the following structure: Code:
/root Code:
[root@Linux-PC ~]# gedit /var/www/html/forum/includes/config.php Code:
/*======================================================================*\ Code:
[root@Linux-PC ~]# mkdir /etc/vbulletin Secured MySQL vBulletin user Start by creating a new database user: Code:
[root@Linux-PC ~]# mysql -u root -p No need to memorize them... so you can use very complex passwords in your Linux configuration. :) The privileges listed above are the only ones vBulletin needs for any operation, including upgrades. Make sure you have only the users you need/use, in your MySQL database. Hosts or users defined as "" are dangerous because they open the door to security issues. The MySQL site tells you how to secure your user accounts, very well. Also, I strongly suggest you to use at least 85 bits, for the quality of your server passwords. A very good tool to generate and have all your passwords grouped together is KeePass. It will store very securely all your important passwords. The beauty of this program is the fact that you can keep it on your USB flash drive and travel with it everywhere. Plus, it is free and works on Windows, Linux and MacOS. I use it all the time to generate very strong passwords for all my server configurations. Shared Accounts If you are on a shared account, get a server. vBulletin was not meant to run on a shared account. Once your forums are getting a little popular, the site will die on you constantly. That's all, enjoy your secured config.php file as well the secured MySQL user. :) |
Great article TECK!
Thanks for sharing with the community. :up: |
Thanks, Princeton.
|
A long time since you have wrote this but thank you, I have enjoyed the read :)
________ EASY VAPE"" REVIEW |
Thank you
|
Yeah, this doesn't seem to work with apache.
It doesn't work with config.php what so ever. When I use a test html file it works though, I can view it in the browser. But I have to chmod the file to 644 and the folder in /etc location to 755 |
Explain the awesome my brother thanks you and experience ...
|
All times are GMT. The time now is 06:44 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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|