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.
- Open a command prompt and change directory to the folder opened by ContaCam's Settings - Browse Config/Log Files menu entry.
- In the command prompt type the following line to create a password file for your camera:
"C:\Program Files (x86)\ContaCam\microapache\htpasswd.exe" -c httpd_pw_cameraname.txt username - Open httpd_conf_editable.txt and append the following:
<Location "/Camera Name">
AuthType Basic
AuthUserFile "Drive:\Path\httpd_pw_cameraname.txt"
AuthName "Camera Name"
Require valid-user
</Location> - In the above pasted text set the correct camera name and the full path to httpd_pw_cameraname.txt.
- Save httpd_conf_editable.txt and restart ContaCam.
Notes
- Repeat 1. - 6. for each private camera.
- httpd_conf_editable.txt survives ContaCam's updates.