Change the admin directory - security

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Change the admin directory - security

Post by paulbaker »

Had a surprise yesterday - someone accessed the login page of *cough* another CMS *cough* 10000 times:
Loads of hits
Loads of hits
(They didn't get in).

A great reminder that we should change the location of the admin directory for every CMSMS site. It's dead easy and means that people won't even be able to find the login page.

Just change the name of the admin directory and add this line to your config.php:

Code: Select all

$config['admin_dir'] = 'NewAdminDirectory';
Simple! :P
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Change the admin directory - security

Post by calguy1000 »

Yes, that is a great reminder.

And the new installation assistant (unlike in 1.x) will detect this automatically and remind you to change it back temporarily before upgrading.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: Change the admin directory - security

Post by paulbaker »

That's even better ;)
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Post Reply

Return to “The Lounge”