What are the steps to secure Winform Application

I have a question to ask or advise to seek. Is there a need to secure winform application in intranet environment? Clearly, there is no external threat and only authorized personnel have access to intranet environment, so I am not sure if these is need to secure it. Unless it’s insider threat, however, it’s still impossible as there isn’t any necessary tools available or downloadable within the environment.

The only threat I can foresee is the transparency of my application. Within my winform application folder, the source file was made available to anyone and user might have the ability to understand it and reverse engineering to those source file.

So I’m asking, based on the description above:

  1. Aside from parameterized query or input sanitation, what others threat have I missed out?
  2. How do I better secure those source file? obfuscation?(any guide would be appreciated!)

Open,read, count rows in google spreadsheet and update the count in email using c# winform application

I’m doing an automation right now. Details are given below:

  1. Open google spreadsheet, the sheet will have 2 columns and n number of rows. Each row has will have value 1, 2 and 3.

  2. Count of 1,2 and 3 has to be updated in the table

  3. The table has to be sent in email

Till now, I’ve completed mail stuff and other design works.

I’m totally new to this and I’m in need of complete help in completing this project.

I need code of working and counting the values of 1,2 and 3 and updating the same in a table

I’ll be ready to provide any kind of input

How to handle views and logic in a Winform C# app?

I come from a webdev background so I’m used to MVC to handle the separation between the views and the logic (and the data/models).

I’m starting to develop using Winforms in C# and I want to know what’s commonly used to develop a scalable, maintainable piece of software.

For example, if I want to make a bussines managament sofware, I’d have views for

  • Clients
  • Bills
  • Invoices
  • Sales
  • Stock
  • Appointments
  • Taxes

etc.

I’ve searched and saw this reply that says you can use MVVM pattern.

Is this common for software development (especially big projects)?

Is there another pattern or paradigm I can learn to develop scalable, easy to maintain software?