Best way to restrict access by IP address?
One way is using a HttpModule. From the link (in case it ever goes away): /// <summary> /// HTTP module to restrict access by IP address /// </summary> public class SecurityHttpModule : IHttpModule { public SecurityHttpModule() { } public void Init(HttpApplication context) { context.BeginRequest += new EventHandler(Application_BeginRequest); } private void Application_BeginRequest(object source, EventArgs e) { … Read more