Log in

View Full Version : Question about protecting Admin/ModCP with .htaccess


EliteLuke
08-27-2007, 11:34 PM
I am looking to password protect my AdminCP and ModCP with the htaccess method.

I know how to do this, but I am wondering if there is a way to do it by letting all the mods and admins use their current login info for the forum. For example do I have to make one username and password for all the admins and one for all of the mods? Or is there a way they can use their current login info for the forum? I hope you understand what I mean :p Any help would be appreciated.

I posted this thread on vb.com and they referred me here. Apparently i need a custom code?

iogames
08-28-2007, 12:01 AM
Well you can add in the .htpassd the Users:Passwords

Marco van Herwaarden
08-28-2007, 06:49 AM
You add the .htaccess protection to have a second layer of protection. Using the same username/password as you use on the forums does not give you that extra layer.

Dismounted
08-28-2007, 06:52 AM
As Marco has already said, having the same combination does not really do anything. It's about having different combinations...

Antivirus
08-28-2007, 11:35 PM
it's also a good practice to modify the names of your admincp and modcp directories as well. For instance, instead of asminco, change to myadmincp. Just be sure to also update the setting in your config.php file as well.