hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : phpmyadmin
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

phpmyadmin

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-17-2002, 06:43 AM
dutchie dutchie is offline
Web Hosting Evangelist
 
Join Date: Jan 2001
Location: the Netherlands
Posts: 542

phpmyadmin


I just installed phpmyadmin, for multiple users.
is it normal that i get directly into the phpmyadmin screen without entering a password ?

Quote:

Welkom op phpMyAdmin 2.2.4
MySQL 3.23.37 running on localhost as admin@localhost
is what i get.
I don't see any databases on the left site, but still.
I've set auth_type to http, and did not enter any user or password information.

Reply With Quote


Sponsored Links
  #2  
Old 03-17-2002, 06:46 AM
serve-you serve-you is offline
Web Hosting Master
 
Join Date: Nov 2001
Location: Ashburn, VA
Posts: 1,041
There is no dropdown menu in the left frame?

-Dan

__________________
Affordable web hosting, design, & domain registration services since 2001
www.serve-you.net

Reply With Quote
  #3  
Old 03-17-2002, 01:42 PM
dutchie dutchie is offline
Web Hosting Evangelist
 
Join Date: Jan 2001
Location: the Netherlands
Posts: 542
Nu there was one database "test" but i deleted it.
The databases i made for some test users don't show.

Reply With Quote
Sponsored Links
  #4  
Old 03-17-2002, 01:53 PM
serve-you serve-you is offline
Web Hosting Master
 
Join Date: Nov 2001
Location: Ashburn, VA
Posts: 1,041
That's strange. Have you read the documentation on this? Here's the relevant section.
Quote:
Using authentication modes:

* Http and cookie authentication modes are recommended in a multi-user environment where you want to give users access to their own database and don't want them to play around with others.

* Http and cookie authentication modes are secure: the MySQL password does not need to be set in the phpMyAdmin configuration file. (except for the "controluser" -see the Configuration section-).
In cookie mode, we send the password in a temporary cookie, so most browsers should not store the password in their cookie file.

* For 'http' and 'cookie' modes, phpMyAdmin needs a controluser that has only the SELECT privilege on the mysql.user (all columns except "Password"), mysql.db (all columns) & mysql.tables_priv (all columns except "Grantor" & "Timestamp") tables.
You must specify the details for the controluser in the config.inc.php3 file under the $cfgServers[n]['controluser'] & $cfgServers[n]['controlpass'] settings.
This example assumes you want to use pma as the controluser and pmapass as the controlpass:
GRANT USAGE ON mysql.* TO 'pma'@'localhost' IDENTIFIED BY 'pmapass';
GRANT SELECT (Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv, File_priv, Grant_priv, References_priv, Index_priv, Alter_priv) ON mysql.user TO 'pma'@'localhost';
GRANT SELECT ON mysql.db TO 'pma'@'localhost';
GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv) ON mysql.tables_priv TO 'pma'@'localhost';
... and if you want to use the bookmark feature:
GRANT SELECT, INSERT, DELETE ON <bookmark_db>.<bookmark_table> TO 'pma'@'localhost';

* Then each of the true users should be granted of a set of privileges on a set of perticular databases but shouldn't have any global privileges. For example, to grant the user real_user with all privileges on the database user_base:
GRANT ALL PRIVILEGES ON user_base.* TO 'real_user'@localhost IDENTIFIED BY 'real_password';
What the user may now do is controlled entirely by the MySQL user management system.
With http or cookie auth mode, you don't need to fill the user/password fields inside the $cfgServers array.
-Dan

__________________
Affordable web hosting, design, & domain registration services since 2001
www.serve-you.net

Reply With Quote
  #5  
Old 03-17-2002, 01:57 PM
ffeingol ffeingol is offline
Community Guide
 
Join Date: Jun 2001
Location: Earth
Posts: 1,246
If it's not prompting you for a password, then you setup basic authentication. The user id that you put into the config. prob. does not have the authority to use any of the databases.

Frank

__________________
Umbra Hosting
cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
UmbraHosting.com

Reply With Quote
  #6  
Old 03-17-2002, 02:20 PM
dutchie dutchie is offline
Web Hosting Evangelist
 
Join Date: Jan 2001
Location: the Netherlands
Posts: 542
To be honest, the readme file confused me, i first created a control user, but the next paragraph in the readme file said it was'nt neccesary so i removed it

First it says:
Quote:

For 'http' and 'cookie' modes, phpMyAdmin needs a stduser that has only the SELECT privilege on the mysql.user (all columns except "Password"), mysql.db (all columns) & mysql.tables_priv (all columns except "Grantor" & "Timestamp") tables.
You must specify the details for the stduser in the config.inc.php3 file under the $cfgServers[n]['stduser'] & $cfgServers[n]['stdpass'] settings
then it says:

Quote:

With http or cookie auth mode, you don't need to fill the user/password fields inside the $cfgServers array


I'm sure i'm missing something very obvious, but it is kind of complicated reading for a non-english reader.

This is my current config
Quote:

$cfgServers[1]['host'] = 'localhost'; // MySQL hostname
$cfgServers[1]['port'] = ''; // MySQL port - leave blank for default port
$cfgServers[1]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfgServers[1]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfgServers[1]['stduser'] = ''; // MySQL standard user settings (this user must have read-only
$cfgServers[1]['stdpass'] = ''; // access to the "mysql/user" and "mysql/db" tables)
$cfgServers[1]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
$cfgServers[1]['user'] = ''; // MySQL user
$cfgServers[1]['password'] = ''; // MySQL password (only needed with 'config' auth)
$cfgServers[1]['only_db'] = ''; // If set to a db-name, only this db is displayed at left frame
// It may also be an array of db-names
$cfgServers[1]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
$cfgServers[1]['bookmarkdb'] = ''; // Bookmark db - leave blank for no bookmark support
$cfgServers[1]['bookmarktable'] = ''; // Bookmark table - leave blank for no bookmark support
$cfgServers[1]['relation'] = ''; // table to describe the relation between links (see doc)
What do i need to change/add ?

Reply With Quote
  #7  
Old 03-18-2002, 10:54 AM
dutchie dutchie is offline
Web Hosting Evangelist
 
Join Date: Jan 2001
Location: the Netherlands
Posts: 542
anyone ?

Reply With Quote
  #8  
Old 03-18-2002, 12:26 PM
zupanm zupanm is offline
Web Hosting Master
 
Join Date: Dec 2001
Location: NYC, NY
Posts: 798
just use .htaccess

Reply With Quote
  #9  
Old 03-19-2002, 10:45 AM
dutchie dutchie is offline
Web Hosting Evangelist
 
Join Date: Jan 2001
Location: the Netherlands
Posts: 542
I'm just wondering if i did it right, and things are safe the way i set it up.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Hosting Sales and Promos Roundup - April 19, 2013 Web Hosting News 2013-04-19 16:37:44
Parallels Automation Roadmap, with SVP of Automation Systems Oleg Melnikov Web Hosting News 2013-02-06 18:45:47
Web Hosting Sales and Promos Roundup - September 21, 2012 Web Hosting News 2012-09-21 17:16:30
Web Host Cirrus Tech Launches Windows Server Cloud Virtual Hosting Web Hosting News 2012-05-18 15:42:47
Dutch Security Firm Gemnet and Certificate Authority Division Gemnet CSP Offline Following Hack Web Hosting News 2011-12-09 15:33:53


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?