Is there a way in asp.net to limit the access to a web page only from localhost?
if (!HttpContext.Current.Request.IsLocal) { Response.Status = "403 Forbidden"; Response.End(); }
1.4m articles
1.4m replys
5 comments
57.0k users