Link to home
Start Free TrialLog in
Avatar of rbichon
rbichon

asked on

phpMyAdmin Login with IIS 6.0

I have a secure website setup where users have to enter a username and password to enter the site. The password protection is setup in IIS. Some of my users use phpMyAdmin. Is there a way to login to phpMyAdmin automatically with the username and password they supplied when they logged into the site? Or, is there a way to retrieve the username and password they entered using php? Thanks.
ASKER CERTIFIED SOLUTION
Avatar of LinuxNubb
LinuxNubb
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rbichon
rbichon

ASKER

I see what you mean. I could probably alter the config.inc.php file, which dictates how it should login, to search for the username and apply that along with the password. The only trick would be to encrypt the passwords.

I found another way of authenticating but it isn't run through IIS. In the config.inc.php file, you set $cfg['Servers'][$i]['auth_type'] = 'http'; which causes php to handle the authentication. The only problem is that this doesn't provide any directory security. Do you think this way posses any security issues? Keep in mind that we have a secure certificate in place and users have to connect through a secure connection.