Documentation

Manual

Access restriction

It is possible to restrict remote access to the program via the parameter

$to_conf['ip_allow']="regular expression"; 

If the parameter is not set, all accesses are allowed. If set, only access from IP addresses matching the regular expression will be allowed. A local access (from 127.0.0.1 or from the configured server address) is always permitted; also access from the TrianglesRotation App is alaways allowed.

Examples:

Allow access for all computers in a subnet

$to_conf['ip_allow']="^192\.168\.100\..*$"; 

Allow access for two different computers

$to_conf['ip_allow']="^192\.168\.100\.(33|134)$"; 

Please note: Opening access to the server has severe security implications. You should only do this if you know what you are doing. The access control via the ip_allow parameter only protects access to the Triangles Rotation Program, but neither access to the computer nor access to other applications running on your web server.


Back to Basic configuration

Back to main index