none
security threat by interactive window services ? RRS feed

  • Question

  • I would like to make a windows service that gets started when application is launched and internet connectivity is available then checks for updates. It checks for and notifies user to download new updates.
     
    Now, services can not be interactive. So how the launching and the making this interactive can be achieved.
     
    Does making services interactive posses security threat and is there any alternative to achieve the same ?
     
    Thanks in advance.
    Saturday, October 12, 2013 7:51 PM

Answers

  • A Windows service makes no sense in this scenario. Just start another process at the program start who acts as updater. This can be a hidden console application for example.
    • Marked as answer by Eason_H Monday, October 21, 2013 1:37 AM
    Sunday, October 13, 2013 1:37 PM
  • Agree with Stefan.

    See how MSDN introduce the windows service application:

    Microsoft Windows services, formerly known as NT services, enable you to create long-running executable applications that run in their own Windows sessions. These services can be automatically started when the computer boots, can be paused and restarted, and do not show any user interface. These features make services ideal for use on a server or whenever you need long-running functionality that does not interfere with other users who are working on the same computer. .

    If you do want to implement the feature this way, check this http://msdn.microsoft.com/en-us/library/windows/desktop/ms683502(v=vs.85).aspx


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    Alan Yao
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    Tuesday, October 15, 2013 6:58 AM

All replies

  • A Windows service makes no sense in this scenario. Just start another process at the program start who acts as updater. This can be a hidden console application for example.
    • Marked as answer by Eason_H Monday, October 21, 2013 1:37 AM
    Sunday, October 13, 2013 1:37 PM
  • Agree with Stefan.

    See how MSDN introduce the windows service application:

    Microsoft Windows services, formerly known as NT services, enable you to create long-running executable applications that run in their own Windows sessions. These services can be automatically started when the computer boots, can be paused and restarted, and do not show any user interface. These features make services ideal for use on a server or whenever you need long-running functionality that does not interfere with other users who are working on the same computer. .

    If you do want to implement the feature this way, check this http://msdn.microsoft.com/en-us/library/windows/desktop/ms683502(v=vs.85).aspx


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    Alan Yao
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    Tuesday, October 15, 2013 6:58 AM