It simple use the htpasswd feature from apache.
You need to add the configuration in ocsinventory-server.conf.
More info on google : http://lmgtfy.com/?q=apache+htaccess+htpasswd
You need to add the configuration in ocsinventory-server.conf.
More info on google : http://lmgtfy.com/?q=apache+htaccess+htpasswd