Authentication
Posted: Tue Feb 10, 2009 6:12 pm
Hi everyone!
I'm trying to access the ZM server from another web server. The ZM server is in authenticated mode. When I try to access the stream, I generate the auth key and I use it in the stream URL:
This works.
On the other hand, if I try to access the event table using the same auth key, it doesn't work:
Why doesn't the authentication work in the second case? The only difference I can see is that the first URL is calling the CGI script, and the second is calling directly the index.php.
I'd really appreciate your help....
I'm trying to access the ZM server from another web server. The ZM server is in authenticated mode. When I try to access the stream, I generate the auth key and I use it in the stream URL:
Code: Select all
http://localhost/cgi-bin/nph-zms?mode=mpeg&monitor=4&scale=100&bitrate=25000&maxfps=5&format=swf&auth=63a6d3b80abd79f1979542843e7ad0e3
On the other hand, if I try to access the event table using the same auth key, it doesn't work:
Code: Select all
http://localhost/zm/index.php?filter[terms][0][val]=2&filter[terms][0][attr]=MonitorId&auth=63a6d3b80abd79f1979542843e7ad0e3&filter[terms][0][op]==&page=1&view=events
I'd really appreciate your help....