Security questions regarding C#, WPF and SQL.

Hi! Im quite new to C# and WPF. Currently im developing a desktop program which connects to a database and makes som queries. A fairly small program. I dont know where to start regarding security as ive never done this before. FYI i use SqlCommand.Parameters.Add on all queries. Questions: – Whats the chance of SQL injection or some sort of access to the DB? – Are there any obvious security measures i should take when developing a program like that?

Appreciate feedback!

by stjeyz via /r/csharp

Leave a Reply