I receive numeric variables in my queryString.
I'm doing validation with the following code:
if (!String.IsNullOrEmpty(Request.QueryString["num"]))
if (!int.TryParse(Request.QueryString["num"],out value)
throw SecurityError;
Is that validation safe enough? Is it the most efficient? (Let's assume that every int number I get is valid)