public void ProcessRequest(HttpContext context) { if (!context.Request.IsLocal && !_allowRemote) { throw new HttpException(403, "Not allowed"); } var handler = new RequestRouter().GetHandler(context); handler.Run(context); }