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(); }
548k questions
547k answers
4 comments
86.3k users