*

michelontour

  • *
  • 28
  • PerfectMatch.nu
    • PerfectMatch
How to secure admin acces?
« on: March 12, 2013, 10:51:15 PM »
Is there any trick to make another path to acces my site.com/admin ?

In the normal installation everyone can go to the admin login page. I want to change the path to that site to secure adminlogin extra.

Thx, Michel
OSDATE 2.5.4

Michelontour

Twitter @perfectmatchnu

*

wp180

  • **
  • 74
    • Punk-Noz.fr
Re: How to secure admin acces?
« Reply #1 on: March 12, 2013, 11:23:26 PM »
/temp/myconfigs/config.php

Code: [Select]
define( 'ADMIN_DIR', 'yourdirectory/' );
Osdate 2.6
PHP 5.4.21
MsSQL 5.1.72

*

CBG

  • *****
  • 673
    • osDate Forum
Re: How to secure admin acces?
« Reply #2 on: March 13, 2013, 08:34:00 AM »
There maybe other places to change for it to all work correctly, if I remember right.
Regards,
CBG (Garry)
osDate: 2.6.5, 2.7 & Evo
PHP: 5.5.x/5.6.x (5.3.x to 5.6.x) | MySQL: 5.5.34-cll

*

michelontour

  • *
  • 28
  • PerfectMatch.nu
    • PerfectMatch
Re: How to secure admin acces?
« Reply #3 on: March 14, 2013, 08:28:08 PM »
There maybe other places to change for it to all work correctly, if I remember right.

Yes there must be, cause only changing the myconfig file does not work...

Still looking for solution..
OSDATE 2.5.4

Michelontour

Twitter @perfectmatchnu

*

CBG

  • *****
  • 673
    • osDate Forum
Re: How to secure admin acces?
« Reply #4 on: March 14, 2013, 09:50:52 PM »
Once you made the change in the myconfig.php file
Try emptying templates_c and cache which are in the temp

As I just quickly checked the code and 2.5.4 should work ok.
Regards,
CBG (Garry)
osDate: 2.6.5, 2.7 & Evo
PHP: 5.5.x/5.6.x (5.3.x to 5.6.x) | MySQL: 5.5.34-cll

*

CBG

  • *****
  • 673
    • osDate Forum
Re: How to secure admin acces?
« Reply #5 on: March 14, 2013, 09:54:37 PM »
Or you could setup .htaccess password protection, so if anyone went to /admin they be asked for a username and password to get access to the login page and enter another username and password.
Regards,
CBG (Garry)
osDate: 2.6.5, 2.7 & Evo
PHP: 5.5.x/5.6.x (5.3.x to 5.6.x) | MySQL: 5.5.34-cll

*

Vink

  • *****
  • 329
    • NedDate.nl
Re: How to secure admin acces?
« Reply #6 on: March 15, 2013, 03:01:39 PM »
I use for a time now this awesome script for protect the admin and other files:

download url: http://www.zubrag.com/scripts/password-protect.php

 
Regards
Vink
osDate 2.19a | PHP 5.3.8 | MySQL  5.0.91

*

michelontour

  • *
  • 28
  • PerfectMatch.nu
    • PerfectMatch
Re: How to secure admin acces?
« Reply #7 on: March 16, 2013, 09:56:54 AM »
I use for a time now this awesome script for protect the admin and other files:

download url: http://www.zubrag.com/scripts/password-protect.php

Good solution! Thanks again.
OSDATE 2.5.4

Michelontour

Twitter @perfectmatchnu