Under Global Settings it's possible to protect all cameras with a global username and password.
With manual file editing it's also possible to protect individual cameras with a private username and password:
- The files to be edited can be located through ContaCam's Settings - Browse Config/Log Files menu entry.
- Go to ContaCam's Global Settings and enter a unique Area Name, User Name and Password for your private camera. Check Secure Authentication, press Ok. Make a copy of
httpd_pw.txt
and rename it tohttpd_pw_cameraname.txt
. - Go to ContaCam's Global Settings and restore your previous security settings. Press Ok.
- Open
httpd_conf_editable.txt
with notepad and paste the following text into it:
<Location "/CAMERA_NAME/">
AuthType Digest
AuthDigestDomain "/CAMERA_NAME/"
AuthDigestFile "PASSWORDFILE_PATH"
AuthName "AREANAME"
Require valid-user
</Location> - In the pasted text replace:
- CAMERA_NAME with your camera name configured in Camera Basic Settings dialog.
- PASSWORDFILE_PATH with the path of the above created
httpd_pw_cameraname.txt
file (please include the full path with extension). - AREANAME with the chosen Area Name.
- Save
httpd_conf_editable.txt
and restart ContaCam.
Notes
- Repeat 1. - 6. for each private camera using a different name for the
httpd_pw_cameraname.txt
file and a different Area Name. httpd_conf_editable.txt
survives ContaCam's updates.