Page 3 of 6

Posted: Tue Dec 06, 2005 12:00 pm
by jameswilson
ok then i will have a play

Posted: Mon Dec 12, 2005 11:21 pm
by -madmax-
ok,

i'm blind or i don't understand...

where do i define the username and pw so this app can login to my zm install ?

as far as i understand the user/pw in this app is for securing the login to this app ?

but my zoneminder uses user/pw so i can't just access the stuff right ?

thanks,

Posted: Mon Dec 12, 2005 11:28 pm
by jameswilson
yes the user name and password is used for both
you need to define the same user name in zm4ms as you use for zm as it passes the login info to zm. ie if you setup a user called stream with a password of stream this also needs to be a user that can stream in zm. Plus at the moment you cant use spaces in user name or password.

Hope that helps

Posted: Tue Dec 13, 2005 2:32 am
by -madmax-
cool, thankls for the info...

another problem i could use some help is viewing ipcams directly...

i my case i have a axis 206w, but i limited the viewer to a user created on the camera..

usually using a browser i would use this url

user:pw@ip/axis-cgi/jpg/image.cgi?resolution=640x480

using that doesn't work...

if i remove the restricting pn my cam and alow anonymous access using

ip/axis-cgi/jpg/image.cgi?resolution=640x480

it works just fine....

any clue howto fix that or is this a bug ?

Posted: Tue Dec 13, 2005 4:42 am
by jameswilson
i presume you have ticked url mode for that cam? if so i dont know why that wont work as in url mode the who
e path s used to request the image, i can only assume a charecter is unliked in the path statement. i will have a look and see.

Posted: Tue Dec 13, 2005 4:45 am
by jameswilson
the : is confusging .net in the path statement, is there another way to pass aurh info without the :

Posted: Tue Dec 13, 2005 6:10 am
by cordel
Unfortunately there is not. This is a standard for logins of that type. I lock down some of my pages that don't have a way to manage users (Unlike zm that can) using autentication through apache which accepts the same type of login.

Regards,
Cordel

Posted: Tue Dec 13, 2005 7:05 am
by Blazer
-madmax- wrote: another problem i could use some help is viewing ipcams directly...

usually using a browser i would use this url

user:pw@ip/axis-cgi/jpg/image.cgi?resolution=640x480

using that doesn't work...
What browser are you using? Be aware that Internet Explorer no longer supports http://user:password@host/path URLS. Give it a try with FireFox or some other browser.

Posted: Tue Dec 13, 2005 7:26 am
by jameswilson
its not a browser, its a .net picturebox with its url path set to whatever the url is entered (if in url mode)

Posted: Tue Dec 13, 2005 9:03 am
by -madmax-
hi james,

as cordel said thats the standard method to supply authentication for this kinda stuff...

i guess i found a problem... :-(

guess i can't solve this on my own without taking access contol away...and thats not really a option...

:-(

Posted: Tue Dec 13, 2005 9:05 am
by jameswilson
im not sure what i can do about this as the url thing was never designed for perm viewing of cameras as its designed to get its images from zm. I will look into it but im thinking if .net framework wont pull in an image from a http source with this in it then im tuped, but i will have a look

Posted: Tue Dec 13, 2005 8:16 pm
by -madmax-
thanks,

how about some paypal donation ? for all the afford ? :-)

Posted: Tue Dec 13, 2005 8:20 pm
by jameswilson
im sorry i dont understand?

Posted: Tue Dec 13, 2005 11:09 pm
by -madmax-
huh ?

i thought you wrote that app ? or did i get this wrong ?

Posted: Tue Dec 13, 2005 11:49 pm
by jameswilson
yeah i wrote it, i just didnt get what you mean