Access restriction by IP address
The Server supports the restriction by client IP address.
Property TfrxReportServer.DenyIP can contain list of the restricted client IPs'.
Property TfrxReportServer.AllowIP can contain list of the allowed client IPs'.Each list must contain one IP address in one line.Here is an example of such list:
192.168.0.10
192.168.0.12
192.168.0.54
If the "DenyIP" and "AllowIP" lists are empty, then all clients are allowed to connect to the server.
If the "DenyIP" list is empty, while the "AllowIP" list contains an IP address, then only one client with this IP address can connect to the server.
If the IP address of a connected client is not included in the "DenyIP" list, then the server checks if this address is included in the "AllowIP" list.
IP addresses' masks are not supported.
Examples:
1. Only local host can connect to the server:
AllowIP:
127.0.0.1
DenyIP is empty.
2. IP addresses 192.168.0.2 - 192.168.0.6 can connect to the server.
AllowIP:
192.168.0.2
192.168.0.3
192.168.0.4
192.168.0.5
192.168.0.6
DenyIP is empty.
2. IP addresses from range 192.168.0.8 - 192.168.0.10 cannot be connected to the server.
AllowP is empty.
DenyIP:
192.168.0.8
192.168.0.9
192.168.0.10