Click to See Complete Forum and Search --> : phpmyadmin access question...


marvc
05-10-2003, 11:33 PM
Finally got phpmyadmin installed and accesible on my server. How do I make it prompt for a password when viewing from outside? It stated that you have to add the rootpassword in the config.inc.php file, but it seems like this allows access from anywhere and appears to be a security concern for me. I tried to remove the password from the file but I got an page unavailable error. How do I make it prompt me for a password when trying to access this page?

TIA

mach5
05-11-2003, 01:29 AM
marvc,

You can alter your config.inc.php file to reflect http authentication. Just change this line:

$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?

To:

$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?

I hope this helps.

aNoob
05-12-2003, 10:06 AM
You MUST use apache s webserver in order to enable http access. Cookie based one is good as well. Config you use it only if you installed on windoze with that php installer , small version.
but i don't believe that you use phpmyadmin with iis. ;)