Webcam Authentication for the live web server.
Description of Patch
I use motion to stream images over the internet using the live web server but I do not want the images to be accessible to everybody. To add firewall rules is not a solution for me as I want to be able to see them from everywhere. The authentication mechanism that I've added is similar with the one used for the http control. The webcam authentication can be controlled using the new "webcam_authentication" config option.
Installation of Patch
Download the patch file. If it is packed as a gz or tar.gz unpack it first. Then copy it to the motion source directory and issue the command (assuming the patch file is called filename_of_patch_file.diff)
patch < filename_of_patch_file.diff
Then re-build Motion and test the patch.
Change History of Patch
many thanks for the patch. Its work! ))
- 10 Sep 2011
I would really like to implement this feature, but when I tried to 'patch < WebcamAuthentication
.patch' I received a heap of errors (Hunk#x FAILED at x) and the patching failed. I am using Ubuntu 11.04. I am not a linux expert... even if I get the patching to succeed I doubt I'll be able to work out how to rebuild Motion
Can someone please provide me a foolproof way of implementing this patch, or a copy of an already patched version of Motion that will work in Ubuntu?
- 04 Dec 2011
Motion already supports this feature in svn trunk and git version.
- 08 Dec 2011
Where can I find the motion source directory? And how do I "Rebuild" Motion.
how would you go about inslling it via svn
- 31 Jan 2013