In the code below, if I get into the operator if, I can say with confidence that my site is under attack. What information is a good idea for registration?
Any recommendations on actions that can be taken to minimize the damage at this stage?
protected void btn_Search_Click(object sender, EventArgs e)
{
if(tb_SearchBox.Text.Length > tb_SearchBox.MaxLength)
{
}
}
source
share