I set up a webcam server using motion
. The video is correctly streamed to Internet. Now I would like to protect the stream with a password: I don't want unknown people to spy on me! I don't know how to do this. In motion.conf
, there are attributes:
control_authentification
To protect HTTP Control by username and password, use this option for HTTP 1.1 Basic authentication. The string is specified as username:password. Do not specify this option for no authentication. This option must be placed in motion.conf and not in a thread config file.
netcam_userpass
For network cameras protected by username and password, use this option for HTTP 1.1 Basic authentication. The string is specified as username:password. Do not specify this option for no authentication.
I don't understand these two arguments so I tried both of them but it did not work...