Authenticate through URL

Support and queries relating to all previous versions of ZoneMinder
Locked
lspiehler
Posts: 21
Joined: Tue May 19, 2009 1:54 pm

Authenticate through URL

Post by lspiehler »

Currently I have streaming set up on an app in my iPhone that authenticates using &user=username&pass=password in the url, but this only seems to work when using the nph-zms streaming server. The issue is, I cannot control the cameras using this app, and I'd like to be able to automatically authenticate and go directly to http://192.168.1.53/index.php?view=control&mid=1. It seems like the perfect interface to control the cameras from a mobile device, but I cannot get it to log in automatically. Of course, I'm always just prompted to log in and then I have to redirect myself. Suggestions would be greatly appreciated. Thank you!
lspiehler
Posts: 21
Joined: Tue May 19, 2009 1:54 pm

Resolved!!!

Post by lspiehler »

After enough playing around I figured it out!

http://127.0.0.1/index.php?view=control ... tion=login

Of course change the values of "username" and "password" to a cooresponding acount on your system, and there ya go!
Locked