[imp] Restricting logins by UIDS or range of UIDs

Oscar A. Valdez oscar.valdez at plastipak.com.sv
Sat May 24 09:58:31 PDT 2003


Is it possible to restrict logins to IMP to a certain range of UIDs?

I'm running several virtual servers for different domains. The same IMP
installation is aliased into the various virtual servers, but I'd like
to allow only the user accounts associated with each particular domain
to be able to login when IMP is aliased into their respective domain.

For example, in my httpd.conf (Apache 2.0):

### Section 2: 'Main' server configuration
Alias /horde "/var/www/horde"
...

### Section 3: Virtual Hosts
<VirtualHost *>
    ServerName www.domain-one.com.sv
    ...
</VirtualHost>

<VirtualHost *>
    ServerName www.domain-two.com.sv
    ...
</VirtualHost>

Since virtual hosts inherit the main server's configuration,
/var/www/horde gets aliased as www.domain-one.com/horde, and as
www.domain-two.com/horde.

However, any valid user can log into IMP on either URL. Can I restrict
logins by UID, depending on the virtual host that was called?

-- 
Oscar A. Valdez
Plastipak, S.A. de C.V.



More information about the imp mailing list