Security Concerns

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
wakewatcher
Forum Members
Forum Members
Posts: 149
Joined: Fri Dec 28, 2007 12:33 am

Security Concerns

Post by wakewatcher »

I thought it would be smart to, for instance, change the name of my admin directory so as to not make it as simple to hack my site. E.g. change it from admin to fred. However when trying that I get a
Fatal error: Call to a member function do_header() on a non-object in /home/mysite/public_html/cmsms/fred/header.php on line 133
I thought maybe that the admin directory was mentioned in the config.php file but it is not. It crashes on the last line of header.php file. I don't really want to mess with the core code but figured there should be an easy way to reduce the security risk of having a well known directory name called admin where all know that's an easy place to start if you want to mess with somebody. I first thought of this when I noticed that on my new site as I was pre-loading news articles that I happened to be using my admin login so the news articles contain that user name. So given that admin is the directory and my admin user name is on the news then you are already half way there. I'll of course redo the news articles with a different user name (As an aside that would be nice if that was a selectable change but doesn't appear to be so) So back to my question. How can you get the site not to complain about changing the admin directory to a different name?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Security Concerns

Post by Rolf »

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
wakewatcher
Forum Members
Forum Members
Posts: 149
Joined: Fri Dec 28, 2007 12:33 am

Re: Security Concerns [Solved]

Post by wakewatcher »

Excellent. Thanks! (Now just to somehow remind myself to change it back before upgrading in the future. :) )
Post Reply

Return to “CMSMS Core”