Thank you for your responses.
I never thought of using .htaccess, it would do the job. My actual problem is that the root user does not have a password, and I am not the admin, so I can't change that. So anybody could log in and do whatever they want too. One user was set up with a password, this is the only user I want to use through phpMyAdmin.
Would it be a solution to add this to the top of index.php?
- Code: Select all
if ($_REQUEST['pma_username'] != 'myuser')
**I tested my code and it works, but I'm not sure whether it can be bypassed.