Roundcube Community Forum

 

Disable Login to certain accounts

Started by DeusEx, March 28, 2012, 09:56:43 AM

Previous topic - Next topic

DeusEx

Hello roundcube folks,

I need somehelp wit the latest stable roundcube release.
I want to disable the login of certain accounts (like [email protected]) via roundcube for security reasons.
Is there any way to achieve that?

Thank you very much,

DeusEx

ABerglund

That would better dealt with on the IMAP server, not the webmail client.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

DeusEx

Good point and I need to rephrase my question:
I only want to block certains accounts from using roundcube - not blocking the account completly!
So that they can still use Thunderbird or such to login, but not the webmailer.

rosali

./config/main.inc.php


// automatically create a new RoundCube user when log-in the first time.
// a new user will be created once the IMAP login succeeds.
// set to false if only registered users can use this service
$rcmail_config['auto_create_user'] = false;


... and delete those users you don't want to access Roundcube from database (users table).

This is the fastest and cleanest way. NOTE: If you want to grant new users access you them either to add them to the database manually or you have a second Roundcube setup where the access is only known by priviledged users or you use any other access protection for the second Roundcube installation.
Regards,
Rosali