Validations for security

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 年 前
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
14 年 前
It's impossible because we don't dynamic SQL.
14 年 前
Impossible to add validations to stop the use of special characters in texbox
OR- Impossible for hackers to execute queries in textbox ?
14 年 前
Impossible for hackers to execute queries in textboxes
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.