[BlueOnyx:00401] Re: phpmyadmin not working?

Michael Stauber mstauber at blueonyx.it
Tue Jan 27 22:10:18 -05 2009


Hi Rickard,

> First issue:
> As the admin-user you won't be able to log out of phpmyadmin, you will
> be thrown back in again if you click on the logout link in phpmyadmin.
> Is this behavior desirable? If not, what should happend?

Hmm ... what happens when you end the session by "zapping" the session cookie? 

> Second issue:
> Now that phpmyadmin is integrated into sausalito, what should happen
> with the link /phpmyadmin? As it is it doesn't work. I might find a way
> to fix it but I don't know, because the login/signon is tied to the GUI
> which means sausalito should be fully enabled for it to work and the
> user should be logged in. We could always tie /phpmyadmin to /login and
> force the user to log in to the system before being able to access
> phpmyadmin?

Ken wrote:
> If possible I'd rather not have a regular /phpmyadmin at the regular url.
> It just gives another place for easy brute force password guessing attacks.

I agree with Ken on this. If "our" phpMyAdmin only works if the user is 
authenticated to CCE (and not even accessible through /phpMyAdmin on the 
public Apache), then we eliminate quite a bit of grief.

To sweeten things we could even throw in another gadget:

We add the capability group "phpMyAdmin" to the capabilities that can be 
assigned to users. If the user is a siteAdmin, he gets that capability by 
default. If the user is a regular user, the server admin or siteAdmin may  
grant him that capability.

If the capability is present for the user, he can auto-sign in to phpMyAdmin 
with the site's MySQL login credentials. 

I rencently rolled up some software that works similarly and adds another 
capability like this. So if you want, I can extend your code with that.

Rickard, let me know if you want SVN access and I'll hand it out to you. 
Should make contributing a bit easier.

-- 
With best regards

Michael Stauber




More information about the Blueonyx mailing list