lily 2007-8-1 22:32
如何给phpadmin一个保护
<p><DIV class=t_msgfont id=message211607>如何给phpadmin一个保护,即要输入密码才能进入phpadmin <BR>--------------------------------------------------------------- <BR><BR>在config.inc.php中: <BR>$cfgServers[$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)? <BR><BR>有三种选择config http cookie <BR>config : 按配置文件中的密码 (也就是标准方式) 这种方式没有认证 <BR>http : 使用HTTP认证 <BR>cookie : 使用COOKIE登录认证 <BR><BR>如果是使用IIS+PHP是没有办法使用HTTP认证的.这个功能只有在使用APACHE+模块安装的<a href="http://www.phpchina.com/javascript:;" onClick="javascript:tagshow(event, 'PHP');" target="_self"><u><strong>PHP</strong></u></a>上才能使用. <BR>你使用COOKIE方式吧,安全性也是很好的呀.