Preferences question
Preferences question
- Subject: Preferences question
- From: Charles Bennett <email@hidden>
- Date: Fri, 01 Jun 2001 13:35:14 -0400
Hi All, I have a two part application, a traditional UNIX daemon that runs
as root and provides a Distributed Object. Part two is a "User" level app that connects
to the Daemon and communicates via the DO.
At this point the daemon writes it preferences to a persistant domain
that has the same name as the daemon. The defaults end up, of course, in
/var/root/Library/Preferences.
I would like the user level app to be able to authinicate and be able to
alter the daemons preferences.
A: Should I authinicate on some bogus command and then shove the dictionary
of preferences back and forth across the DO
or
B: Is there some other what to allow a user level app to alter a "root" level
preference?
C: Create a root level application that has the rights to read and write the
persistant domain of the daemon. I guess that would make it a three part app..
D: (possible but not that much fun..) I could cause the daemon to also act as a http
server and set it's preferences via web interface with authinication handled at the daemon..
E: I'm looking at it all wrong and should...
Thanks
chuck