FROM : Finlay Dobbie
DATE : Thu Jul 20 23:16:29 2006
On 20/07/06, Scotty's Lists <<email_removed>> wrote:
> I found Brian Hill's article on Stepwise very helpful in figuring
> this out.
>
> <http://www.stepwise.com/Articles/Technical/2001-03-26.01.html>.
This article details an approach which is not recommended (uses
AuthorizationExecuteWithPrivileges, which for one will require that
people type their password every time they want to perform a
priviliged operation).
Apple has detailed sample code which, whilst perhaps a little obtuse
in places, should be fairly easy to follow. There is no "pure Cocoa"
way to do this, largely because a lot of the issues involved are a bit
tricky and a side-effect of the legacy UNIX security architecture.
It's not easy, and that's because it's just not easy. If you can't
follow Apple's detailed documentation and sample code, then I'm afraid
there's no magic bullet for you.
-- Finlay
DATE : Thu Jul 20 23:16:29 2006
On 20/07/06, Scotty's Lists <<email_removed>> wrote:
> I found Brian Hill's article on Stepwise very helpful in figuring
> this out.
>
> <http://www.stepwise.com/Articles/Technical/2001-03-26.01.html>.
This article details an approach which is not recommended (uses
AuthorizationExecuteWithPrivileges, which for one will require that
people type their password every time they want to perform a
priviliged operation).
Apple has detailed sample code which, whilst perhaps a little obtuse
in places, should be fairly easy to follow. There is no "pure Cocoa"
way to do this, largely because a lot of the issues involved are a bit
tricky and a side-effect of the legacy UNIX security architecture.
It's not easy, and that's because it's just not easy. If you can't
follow Apple's detailed documentation and sample code, then I'm afraid
there's no magic bullet for you.
-- Finlay
| Related mails | Author | Date |
|---|---|---|
| .::welemski::. | Jul 20, 15:19 | |
| Scotty's Lists | Jul 20, 15:38 | |
| Finlay Dobbie | Jul 20, 23:16 | |
| .::welemski::. | Jul 21, 06:33 |






Cocoa mail archive

