In writing an app that communicates notifications via HTTP requests, to a user specified URL, it brought up an interesting security question. How do you block them from requesting a URL that accesses the LAN ?. The function below was created to do just that. function isOnLAN($url) { $urlParts = parse_url($url); $domainName = $urlParts[‘host’]; $ip... Read more »...