How to restrict access to LabCollector to selected IP addresses? - LabCollector

Knowledge Base

Search Knowledge Base by Keyword

How to restrict access to LabCollector to selected IP addresses?

You are here:
← All Topics

You can improve security by limiting access to LabCollector to a selected IP range or specific IP addresses.


Using LabCollector interface

Restriction to data can be setup based on the IP address used by the users. The super-administrator can create lists of IPs and restrain access to specific groups in Group settings or to an individual user.

If the users are not using the right IP define by the super-administrator, they cannot connect to LabCollector.

Using Apache settings

For this, EDIT Apache settings (httpd.conf) from the server manager and replace:

Allow from all

by

Deny from all
Allow from 192.168.1
Allow from 192.168.0.100
Allow from 127

Then restart Apache/LabCollector Server.

In this example, we have limited to IP range from 192.168.1.0 to 192.168.1.255 and specifically to 192.168.0.100 and localhost/127.0.0.1

More explanations on Apache documentation:
http://httpd.apache.org/docs/current/mod/mod_authz_host.html
http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#allow