> I created a service application. This service, can possibly start other
> applications or display message boxes, so it needs to interact with the
[quoted text clipped - 3 lines]
> none
> give me this option (or maybe I didn't see it).
If no one suggests a .Net way of doing this you can check the docs for the
native functions OpenSCManager(), ChangeServiceConfig() and
CloseServiceHandle() and use Platform Invoke services to call them from your
managed code.
Regards,
Will
P.S. You do know that running a service like this opens you up to the
Shattered Windows attack, yes?
ThunderMusic - 20 Sep 2005 02:42 GMT
> P.S. You do know that running a service like this opens you up to the
> Shattered Windows attack, yes?
opens to the What?
thanks
William DePalo [MVP VC++] - 20 Sep 2005 15:44 GMT
>> P.S. You do know that running a service like this opens you up to the
>> Shattered Windows attack, yes?
>>
> opens to the What?
The Shatter Attack (aka Shattered Windows) decribes a vulnerability used by
spyware/viruses/malware to elevate privilege in order to do bad things
behind your back:
http://www.csnc.ch/static/download/misc/ShatterAttack_CSNC.pdf
If you are not _very_ careful you put your system at risk when you run a
service that can interact with the desktop.
Regards,
Will
ThunderMusic - 21 Sep 2005 23:53 GMT
ok, I'll look into that... Thanks a lot...
> >> P.S. You do know that running a service like this opens you up to the
> >> Shattered Windows attack, yes?
[quoted text clipped - 12 lines]
> Regards,
> Will