Vega02 wrote:
I was considering just adding a daemon executable to the Startup path of whichever user installed the application.
Yes, that would be a good approach.
Vega02 wrote:
Ideally the user could install and run this application without requiring administrator privileges. Also, I want to minimize as much as possible the possibility of cross-communication between clients and daemons running under different user accounts.
Running the client piece without admin privs should be relatively simple. Installing without them might cause an issue on Vista.
Vega02 wrote:
In reality what I have going on is that the client is performing all the work. The client just needs to query the daemon for some state before work can commence, and it needs to tell the daemon how to update the state when the work is complete. When the next client queries the state, the daemon can respond with the updated information.
It sounds like the service is really just being used as state management.
Vega02 wrote:
The problem with a system-wide service is that the daemon can be used quite broadly, and the client might update the state with some private information. If the daemon is used as a day planner, for example, the client might add a personal appointment to the database. This isn't information that should be accessible to any other user of the system.
I'm not sure why this would be an issue. If the service is designed right and provides some sort of authentication mechanism between itself and it's clients, client A should never be able to see data from client B. Given the scenario you described, the underlying data store would need to be protected as well.
----------------------------- In just two days, tomorrow will be yesterday.