Motion - Support Question 2008x 11x 27x 085548

Remote control with user and password

Question

I set the parameters for authentication with username and password, but would not request anything. How can I protect the view of the camera from http? I use Mozilla 3.0.4 and I want to protect this URL http://xxx.xxx.xxx.xxx:8888

How can I do? Where should I set?

Thank you Stefano
############################################################
# HTTP Based Control
############################################################

# TCP/IP port for the http server to listen on (default: 0 = disabled)
control_port 8082

# Restrict control connections to localhost only (default: on)
control_localhost off

# Output for http server, select off to choose raw text plain (default: on)
control_html_output on

# Authentication for the http based control. Syntax username:password
# Default: not defined (Disabled)
control_authentication provadacasa:vediamo

Environment

Motion version: 3.2.11
ffmpeg version: libavutil 1d.49.3.0, libavcodec: 1d.51.38.0, libavformat: 1d.51.10.0
Libraries: ffmpeg, mysql
Server OS: Ubuntu 8.10, kernel 2.6.24-21-generic

-- StefanoAprile - 27 Nov 2008

Answer

Notice you are confusing 2 things :

- webcam stream ( stream jpeg multipart from capturing device ) and use webcam_* in motion.conf

- control http , control_* , mini-http server builtin to control and configure motion while is running , this one is the only that can be protected from motion.

If you want to control stream you should use other method like mod_proxy of apache , look here there's an example ( one of the comments ):

http://www.lavrsen.dk/twiki/bin/view/Motion/MjpegProxyGrab

-- AngelCarpintero - 28 Nov 2008
Topic revision: r2 - 28 Nov 2008, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.