I had a bad experience of having my database hacked few times.
I found out that the text fields example Search Text box at my website had no validations which allowed the hackers to type in a SQL query in these text boxes to damage my database.
Now I am building my new store using NopCommerce and to avoid hacking attacks in future I think adding custom validations to all text boxes to prevent the use of special characters will be a good idea.
The problem is that I dont know how to add these validations as my knowledge about codes is zero.
If anyone can please guide me or send me the codes for custom validations for text box which will not allow any special characters..... it will be a great favor.
Thank you