title: Is it safe to use perform SQL functions in public .net application?
body: <p>I am planning out a program that will be build in C# 4.0. I was thinking of using LINQ to SQL, but here is my problem. Because this application is public anyone can de-obfuscate it and open it up in .net reflector in about 5 minutes of time. They then can easily make changes to dump my tables or insert / remove /update data. I know this because with my basic reverse engineering skills using those programs even I can even do it.</p>
  
  <p>Is there a way to to perform DB transactions in .net that is safe and secure from something like above (or at least more secure). Now I know you can never be 100% safe, and there is only so much you can do .This is a pretty open topic, but I am just looking for advice on what you have done or know of people doing to secure this type of thing.</p>
  
  <p>I just want it to be safe enough that someone would need to actually try to do damage than just open it up for all the world to see.</p>
  
  <p>Thanks!</p>