时时商务社区

标题: 如何给phpadmin一个保护 [打印本页]

作者: xgnic    时间: 2018-2-14 09:46

                                                           
                        
如何给phpadmin一个保护
如何给phpadmin一个保护,即要输入密码才能进入phpadmin  
---------------------------------------------------------------  
在config.inc.php中:  
$cfgServers[$i]['auth_type']          =  'cookie';        //  Authentication  method  (config,  http  or  cookie  based)?  
有三种选择config  http  cookie  
config  :  按配置文件中的密码  (也就是标准方式)  这种方式没有认证  
http  :  使用HTTP认证  
cookie  :  使用COOKIE登录认证  
如果是使用IIS+PHP是没有办法使用HTTP认证的.这个功能只有在使用APACHE+模块安装的PHP上才能使用.  
你使用COOKIE方式吧,安全性也是很好的呀.  
                    
                     
            
            
        




欢迎光临 时时商务社区 (http://bbs.4435.cn/) Powered by Discuz! X3.2