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:
- Turn off the global password protection in Global Settings dialog by clearing both User Name and Password.
- The files to be edited can be found by clicking on Settings - Global Settings - Open location of httpd_conf_editable and httpd_log.
- Open a command prompt and change directory to the folder mentioned in point 2.
- 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 "C:/Users/USERNAME/AppData/Roaming/Contaware/ContaCam/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 2. - 7. for each private camera.
httpd_conf_editable.txt
survives ContaCam updates.