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:

  1. The files to be edited can be located through ContaCam's Settings - Browse Config/Log Files menu entry.
  2. Open a command prompt and change directory to the folder opened by ContaCam's Settings - Browse Config/Log Files menu entry.
  3. 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
  4. 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>
  5. In the above pasted text set the correct camera name and the full path to httpd_pw_cameraname.txt.
  6. Save httpd_conf_editable.txt and restart ContaCam.

Notes

  • Repeat 1. - 6. for each private camera.
  • httpd_conf_editable.txt survives ContaCam's updates.