how to prevent security leaks in my own created form which data I write into my db?
Basicly I thought to replace the dangerous chars ('',"",~,....)... but I don't know how to do that in a clean way for each formular element ( more than 20)...
I don't know if asp.net provides an easy thing for that.? Ok the validators I do already some validation but at least I like to remove all all the dangerous and exotic chars.
I don't like to make a replace function for each textbox in my formular... Hope there is an other solution which works for all simple and properly.
thank you
EDIT: OK. I do the insert with a function of the API of the CMS Kentico. So of course it's paremeterized there.