Page 1 of 1

Make one monitor public

Posted: Fri Jul 03, 2009 9:32 pm
by mlh
Is it possible to make one monitor public and keep everything else behind a password? We want to display one of our feeds on a intranet site, but not allow people to see other feeds.

Posted: Fri Jul 03, 2009 9:52 pm
by johnnytolengo
Sure but touching the php code, never i did it.

J.

Posted: Fri Jul 03, 2009 10:00 pm
by 50cc
Easy. Turn on authentication in the config screen. Restart ZoneMinder, and go back to the config screen, there will be a Users tab on the right. With this anything is possible.

Works great!

Posted: Tue Jul 07, 2009 12:08 am
by cordel
I think 50cc is trying to say if you turn on Auth, you can assign a guest/guest or public/public user name and password that you can pass via the url from your web server with access to only that monitor. Also if your web server is on apache, you might want to look into using the apache proxy module that will help keep things isolated and private.

Posted: Tue Jul 07, 2009 8:04 am
by 50cc
I thought that the camera needed to be accessed via the local intranet. Using authentication in ZoneMinder enables you to grant certain rights to certain users for certain cameras. You would however need to login each time.

If you would like to share one or more cameras over an intranet or the internet, like a webcam, the best would be to upload the image ever x seconds. Or indeed use the user/pass in the URL for the camera like so:

Code: Select all

http://<YourZoneMinder>/cgi-bin/zms?mode=single&monitor=7&scale=100&maxfps=3&user=123&pass=456
Using the last method for a public service in the internet is tricky security wise though, be careful not to share the wrong services and data! For an internet webcam sharing the best option is to upload the images to a 'real' webserver already on the internet.

I have never heard of the Apache proxy module, what does it do?

Posted: Tue Jul 07, 2009 8:34 am
by cordel
50cc wrote:I have never heard of the Apache proxy module, what does it do?
Allows Apache to work as a proxy server, thus keeping the internal cams and data from being exposed to a web user in this case. It's an option out of many and fairly common used.