develop a windows service and its security ?

gurneystilgar 1 Reputation point

Good morning,

I took the time to write to you because I am currently working on an important project in C# and I have some questions about security. I would like, for a customer, to develop a windows service that allows to listen to the orders coming from a web site (using httplistener). The goal is to order printers in USB which some commands work only locally. The orders can only be given from one specific site. How can I be sure that the security is well respected? Is there a protocol to respect? a precise documentation on the subject? This is a solution that I found to answer a problem but maybe it is not classic enough?

I really want to do things right so I thank you in advance for your answer.

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,500 questions
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,807 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 27,666 Reputation points Microsoft Vendor

    Hi @gurneystilgar ,

    This is a solution that I found to answer a problem but maybe it is not classic enough?

    Have you forgotten to provide the solution you found?

    You can consider using HTTPS instead of HTTP to encrypt the data that is transmitted between the client and the server. This prevents anyone from intercepting and reading the data.

    Use SSL/TLS Certificates: Use SSL/TLS certificates to ensure the authenticity of your server and the data transmitted. This prevents man-in-the-middle attacks, where an attacker intercepts and modifies the data being transmitted.

    Best Regards.

    Jiachen Li

    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments