Remote Authentication Option: Explaination?

Support and queries relating to all previous versions of ZoneMinder
Locked
jnk1690
Posts: 30
Joined: Wed Jul 30, 2008 1:52 pm

Remote Authentication Option: Explaination?

Post by jnk1690 »

Hi all,

I understand the built-in authentication method for Zoneminder, but, after reading the help info, I don't have a good understanding of the "remote" authentication.

If I wanted to authenticate users via a front-end webpage on a different server, how can I use the 'remote' method, and are there any issues to watch out for?

Links or suggestions to any docs would be greatly appreciated.

Thanks in advance,

Joel
river100
Posts: 145
Joined: Sun Oct 07, 2007 5:52 pm
Location: Louisiana

remote

Post by river100 »

i just went through that learning curve, good thing google doesnt charge....
i use remote auth, on mine with fail2ban. my understanding is that it's meant to be used with apache on the same server

why not use apache "basic authentication" on the zm machine and just link to it ?
only draw back is you will need to add/remove users with htpasswd command on the zm server.
note that the user has to be in both zm and in htpasswd. the .htpasswd password will be used, not the password you put in zm

1- you gotta have mod_auth or something like that for apache
2- make a .htpasswd file and put it in a "good" spot > google
3- make .htaccess file(s) put them where you want auth
4- set apache config files to use auth > google
5- set option in zm for remote auth
below are optional
6- turn off indexing
7- change document root, i did it to keep the default apache page out
8- install fail2ban and turn on use for apache


as far as what to watch for, you will have to hear that from some of the guys on here who KNOW what they're doing....i'm lucky i got this going. 1.5 years of linux have worn my old eyes out
Locked