vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Move and or Rename config.php (https://vborg.vbsupport.ru/showthread.php?t=100273)

Protoman 11-06-2005 10:00 PM

Move and or Rename config.php
 
What does this do?
This mod allows you to move your config.php file for added security.

Version Compatibility
3.5.4+, 3.6.0 Gold+


4/18/2006 - 1.0.1 update
fixes for file changes in the newest version of diagnostic.php, no other changes

I take no credit for this mod by Zachery and have ported it with permission.
vb 3.0.x version here

file edits:2


Quote:

Originally Posted by Zachery
Downsides?

At the moment, during the install / upgrade sequence you will need to move config.php back.


Cole2026 11-07-2005 02:15 AM

I don't know why you would want to do this, as long as you have the config file's permissions decently set, there is no need for this. I mean, I would do this if I could without file edits, but doing all those edits is not worth my while.

:\

o1dirtydog 12-07-2005 02:55 PM

i think this is a great idea... anything to stump someone trying to hack your web site.

thanx

Marco van Herwaarden 12-07-2005 04:51 PM

If your webserver is setup correct, nobody can download (or alter) and .php file. So i also don't really see the use of this.

dead7 02-08-2006 12:54 PM

Well for those who might not know if its setup correctly, or even shared hosts, this seems like a fairly sane thing to add a bit more assurance.... Fair enough everyone? ;)

Watson 02-08-2006 04:58 PM

dont blame proto, blame Zach, he made it 1st :p

Hoojie 03-23-2006 05:15 PM

So . . . for those people who think this is overkill . . . why don't you list the steps a novice Unix/Linux board owner should take to ensure that the config.php (containing the DB name, DB user name, Password) cannot be ripped by a hacker?

Or point to a post that details the nuts and bolts.

As for me, I keep all my sensitive stuff behind the scenes as a matter of course.
Most tools, like automated backup scripts for example, enable you to reference your settings away from the publicy accessible areas.

Who the heck knows when some warped genius will publish/sell techniques that invalidate access settings that we currently set up via chmod.

futuredood 06-29-2006 04:14 PM

this only takes 2 file edits.. shall do

almqdad 06-30-2006 06:00 AM

Hello

what happens during upgrade do I have to move back config.php

thanks

Protoman 06-30-2006 04:25 PM

yes, you need to move back the config.php to includes. then after you've upgraded, completed the file edit, you can move it back to wherever


All times are GMT. The time now is 06:54 AM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00990 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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