me looking so small in this world

16 2006f September, 2006

restrict access to phpMyAdmin by authentication

Filed under: phpmyadmin, xampp — rudyegenias @ 1:39 am

Wondering how authentication/log-in form will be implemented in xampp? This edit in config.inc.php will handle the job.

The path for the configuration script is <your-xampp-installation-path>\phpMyAdmin\config.inc.php.

This line configures the authentication used by phpMyAdmin in accessing it:

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

Note:

If you replace the use authentication method here with:

config
- it will use the password and username from the configuration file. Remember the last tutorial? (read it here)

http
- will use the http authentication of Apache(secure/recommended settings)

cookie
- will use the database for username in authentication and will require browsers to allow cookie. (secure/recommended setting)

2 Comments »

  1. Many thanks. I found your precise explanation of phpMyAdmin authentication methods helpful.

    Comment by Bennett Kankuzi — 14 2008f October, 2008 @ 10:37 pm | Reply

  2. i have a problem, it works but the user can also see another table

    Comment by Agata — 24 2008f November, 2008 @ 9:40 am | Reply


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.