This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

camera url, how to give username and password directly in url
#8
(01.11.2017, 19:46)Erwin van der Zwart Wrote: Hi,

The controller uses a img element in the cam container to avoid scrollbars etc, but this type of element has not the same function as a iframe, so you can’t pass credentials in the URL.

What you can do is make a widget with a iframe to your cam, this way can pass credentials, but there might be some css needed to avoid scrollbars.

Or make a hidden frame, check persist box, and when iframe logs in to URL the img container is also logged on by same source policy. I have on most sites good results, but sometimes its hard to bypass.

BR,

Erwin
Hi
I tried it but neither my MS browsers support http://username:password@url syntax. They simply ignore the whole frame.

(01.11.2017, 20:03)buuuudzik Wrote:
(01.11.2017, 13:25)gjniewenhuijse Wrote: Hello,

In my visualisation (HL 2.0.1) i added a camera and added the following url:
http://user:password@1.1.1.1/mjpg/video.mjpg

Url and user and password are 100% right.

But my camera image is never displayed.

When i remove the user and password in my url my visualisation popup a login dialog and after entering the same user and password is give me the display.

How can i pass my username and password directly in the url?

You can try to find other URL. I had the same issue with BCS cameras with such URL but I found that BCS cameras accept also such URL which are still working:
http://IP_address/cgi-bin/snapshot.cgi?c...p=password

Maybe Vivotek cameras also support such URLs?

Good point! Syntax http://URL/video3.mjpg?user=uuuu&pw=pppp works well!
Thank you for the idea.
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Reply


Messages In This Thread
RE: camera url, how to give username and password directly in url - by Thomas - 02.11.2017, 10:47

Forum Jump: