[Request] Admin Key - Secure your admin access

paolo68

Active member
Elite
XNullUser
Joined
Jan 14, 2022
Messages
52
Reaction score
187
Points
33
NullCash
45
You can Secure your admin folder very easy.
By adding a password through CPanel or Plesk for this directory or you can rename the admin folder in something else
like "MyAdminFolder" or whatever but you need to modify the "config.php" file too.
define('HTTP_SERVER', 'http://'.$_SERVER['SERVER_NAME'].'/MyAdminFolder/');
define('HTTPS_SERVER', 'https://'.$_SERVER['SERVER_NAME'].'/MyAdminFolder/');
define('DIR_APPLICATION', '/var/www/vhosts/mydomain.com/httpdocs/MyAdminFolder/');

But don't forget to rename back if you want to install or deinstall addons or plugins.
 

pasieczko

Member
XNullUser
Joined
Jul 21, 2022
Messages
112
Reaction score
1
Points
18
Location
Poland
Website
www.blackpower.tech
NullCash
4
You can Secure your admin folder very easy.
By adding a password through CPanel or Plesk for this directory or you can rename the admin folder in something else
like "MyAdminFolder" or whatever but you need to modify the "config.php" file too.
define('HTTP_SERVER', 'http://'.$_SERVER['SERVER_NAME'].'/MyAdminFolder/');
define('HTTPS_SERVER', 'https://'.$_SERVER['SERVER_NAME'].'/MyAdminFolder/');
define('DIR_APPLICATION', '/var/www/vhosts/mydomain.com/httpdocs/MyAdminFolder/');

But don't forget to rename back if you want to install or deinstall addons or plugins.
Thanks! Very much! :) This solves my problem. Although I do not use cPanel but openlitespeed with aapanel, it will help a lot anyway. I'm putting it to the test right now.
 

dvdfjknkjdnfv

New member
XNullUser
Joined
Apr 30, 2023
Messages
9
Reaction score
0
Points
1
Location
Serbia
NullCash
15
Thanks! Very much! :) This solves my problem. Although I do not use cPanel but openlitespeed with aapanel, it will help a lot anyway. I'm putting it to the test right now.
 

atillayapici

Member
XNullUser
Joined
Jul 11, 2021
Messages
215
Reaction score
0
Points
16
NullCash
24
bunun için modüle gerek yok basit bi şekilde yapılabilir.
 
Top