x-ser(a)sidell.org wrote:
# Gateways are usually not able to authenticate for their requests.
# You have to trust them base on some other information such as the
# source IP address.
# WARNING: If at all this is only safe in a local network!
if (@src.ip == $gw_ip) {
break;
}
I suppose I could perform the test multiple times, once for each SEMS
server. But, I wonder if there is a nice 2.0-style database-oriented
way to allow invites from multiple trusted sources?
Please have a look at the permissions module. I have never used it
myself, but it appears to be exactly what you are looking for.
Regards,
Martin