Place code in Application_Error section in Global.aspx.cs file to capture any error which may be caused due to attack or invalid input, hiding the actual error details for the attacker/user.
↧