I installed phpmyadmin and it works fine, but it doesnt ask for login or anything.... so everyone can go to the page and change mysql database and stuff....
How can I "protect" that....
Thanks for any help.
phpmyadmin
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Edit your phpadmin config file as per the installation instructions to use cookie or http authentication (read the bits in the documentation called 'Using authentication modes:' and 'Configuration'). You do need to have set up usernames and passwords on the MySQL database for this to work in a secure way (highly recommended anyway for security). Is there a reason why you didn't read the readme file when you installed the program?
Mac
Mac
I set the thing to cookie
$cfgServers[$i]['controluser'] = 'blah';
$cfgServers[$i]['controlpass'] = 'blah';
$cfgServers[$i]['auth_type'] = 'cookie';
So I go to admin page now it asks me to enter username and password
What do I enter?
I tried to enter my admin and blah stuff it tells me
Access denied for user: 'blah@[host stuff]' (Using password: YES)
$cfgServers[$i]['controluser'] = 'blah';
$cfgServers[$i]['controlpass'] = 'blah';
$cfgServers[$i]['auth_type'] = 'cookie';
So I go to admin page now it asks me to enter username and password
What do I enter?
I tried to enter my admin and blah stuff it tells me
Access denied for user: 'blah@[host stuff]' (Using password: YES)
