Koozali.org: home of the SME Server

Obsolete Releases => SME Server 6.x => Topic started by: santiagon on April 05, 2006, 10:44:11 PM

Title: using local user accounts for .htaccess authentication
Post by: santiagon on April 05, 2006, 10:44:11 PM
hi all--

looking for some help here.

i have an area of our corporate website that i want to restrict to local users of the sme server.

is there a way to use .htaccess authentication with the /etc/passwd or any other form of local authentication?
Title: Re: using local user accounts for .htaccess authentication
Post by: raem on April 06, 2006, 01:54:04 AM
santiagon

>... i have an area of our corporate website that i want to restrict to local users of the sme server.

If the "area" is an ibay then you can already limit access to local (LAN or VPN) users only. See ibay configuration.


Otherwise try this

http://mirror.contribs.org/smeserver//contribs/rmitchell/smeserver/howto/htaccess%20configuration%20with%20custom%20templates%20HOWTO%20for%20sme%20server.htm

and some of the tips (about users) listed here may also be useful

http://mirror.contribs.org/smeserver//contribs/rmitchell/smeserver/howto/User%20Home%20directories%20access%20by%20Administrator%20HOWTO%20for%20sme%20server.htm

http://mirror.contribs.org/smeserver//contribs/rmitchell/smeserver/howto/User%20Home%20directories%20access%20by%20Administrator%20HOWTO%20for%20sme%20server.htm
Title: using local user accounts for .htaccess authentication
Post by: santiagon on April 06, 2006, 03:03:49 AM
not a bad idea, but since all we have eight offices scattered around the city without wan or vpn access, i can't concievably do that.

if one could just use .htaccess/.htpasswd to authenticate local users, that would probably be the easiest method (at least, for the users).

i know i've seen it donw on osx systems, various linuxes, and winblows boxes. any ideas on how to implement that on sme?
Title: using local user accounts for .htaccess authentication
Post by: raem on April 06, 2006, 04:53:24 AM
santiagon

>...we have eight offices scattered around the city without wan or vpn access...

There is already functionality in sme server to give your remote users local access privileges.
See the Local Networks panel and read the manual