Easy way to share -just- a monitor image across the net?

Forum for questions and support relating to the 1.24.x releases only.
Locked
emccarron
Posts: 2
Joined: Wed Feb 10, 2010 2:09 am

Easy way to share -just- a monitor image across the net?

Post by emccarron »

Well, got ZM up and running (and learned a good bit about Linux in the process.)

Can't seem to find any mention of just sharing an image; I've got a few non-tech savvy folks (OK, my mom... :) ) who I'd love to just give a link to and not have to worry about passwords and usernames.

Ideally, she'd just see a stream. No controls. No options.

I've got mine set up with hashed logins, and I can log in remotely no prob.

I figured the AUTH_HASH_LOGINS parameter would get me there, but I'm not sure what to search on to generate a hash -- or if that method would even work.

Thoughts?
whatboy
Posts: 304
Joined: Mon Aug 31, 2009 10:31 pm

Post by whatboy »

There's the user access option, check the OPT_USE_AUTH on config, then create a user and set only minimal access... with password...
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Simple to do actually, omitting your cgi path since I don't know it:

Code: Select all

zms?monitor=1&mode=jpeg&user=guest&pass=guestpassword
So it might look something like:

Code: Select all

http://10.0.20.98/cgi-bin/nph-zms?mode=jpeg&monitor=35&maxfps=5&user=guest&pass=guestpassword
Of course you should set a guest account with very limited permissions in zm since the password will be sent in the clear via the url. Viewing the stream only is preferable.
Set the monitor number you want to watch according to the monitorID in the console.

This is also the same path you would take to stream one ZM installation to another.

Code: Select all

Remote Host Path: /cgi-bin/nph-zms?mode=jpeg&monitor=35&maxfps=5&user=guest&pass=guestpassword
emccarron
Posts: 2
Joined: Wed Feb 10, 2010 2:09 am

Post by emccarron »

cordel wrote:

Code: Select all

Remote Host Path: /cgi-bin/nph-zms?mode=jpeg&monitor=35&maxfps=5&user=guest&pass=guestpassword
I just set up a guest account with no priveleges and access to only the monitor I want seen. Worked like a champ, thanks!
johnnytolengo
Posts: 184
Joined: Tue Oct 14, 2008 5:59 pm

hashed pass & user

Post by johnnytolengo »

Is it possible to login with hashed (MD5) user and pass as:

http://10.0.20.98/cgi-bin/nph-zms?mode= ... ED_MD_CODE[/b]&pass=HASHED_MD5_CODE
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

another lesser known option is to us apaches proxy. Which completely masks the user and pass.
Sry no read made example check google.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Re: hashed pass & user

Post by jameswilson »

johnnytolengo wrote:Is it possible to login with hashed (MD5) user and pass as:

http://10.0.20.98/cgi-bin/nph-zms?mode= ... ED_MD_CODE[/b]&pass=HASHED_MD5_CODE
it is but you would need to login first to create the hash.
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Locked