Re: Authenticating multiple Installers with one prompt
Re: Authenticating multiple Installers with one prompt
- Subject: Re: Authenticating multiple Installers with one prompt
- From: Dave Camp <email@hidden>
- Date: Wed, 21 Dec 2005 10:37:43 -0800
On Dec 20, 2005, at 11:30 AM, Damien Sorresso wrote:
I'm writing a utility for my school that basically mimics Apple's
Software Update in some respects for registration on our network.
(No outgoing connections are allowed until we've verified that the
user is up-to-date on security patches. This disables Software
Update.)
All I do now is download the needed updates and throw them into
Installer. But I'd really like it if the user only had to
authenticate once for the whole she-bang instead of once for each
package. Is this possible with the public APIs?
You might try asking this question on the security list (cdsa?) as well.
Typically, auth rights only last for about 5 minutes or so, and the
installer probably revokes the authorization at the end of the
install for obvious security reasons. So, your challenge is to extend
the rights you need without opening up a huge security hole.
You might be able to do something with authorization services and a
SUID helper tool. There should be some good examples of this on the
developer site. Essentially, your main app does whatever UI it needs,
gets authorization, and then launches the helper tool and passes it
the serialized auth reference. That allows the tool to validate that
it was called from your app, and it can then do whatever tasks are
needed.
Dave
---
The path of least resistance, it's not just for electricity any more.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden