Re: Pre-authorizing authopen
Re: Pre-authorizing authopen
- Subject: Re: Pre-authorizing authopen
- From: Georg Schölly <email@hidden>
- Date: Tue, 6 Oct 2009 13:58:20 +0200
On 06.10.2009, at 12:02, Chris Suter wrote:
Hi Georg,
On Tue, Oct 6, 2009 at 8:09 PM, Georg Schölly <email@hidden
> wrote:
I do it this way because I have to get a file descriptor back to my
application.
For that authopen requires permission and asks the user for it.
This is kind
uf ugly because instead of my program's name the name of authopen
appears in
the dialog. Is there a possibility to pre-authorize authopen?
I don't think so, no.
To get the nice behaviour you need to write a helper tool and pass the
authorisation across. Unfortunately, it's a lot of code. Have a look
at BetterAuthorizationSample.
Kind regards,
Chris
--
http://sutes.co.uk/
Hi Chris
Thanks for your answer.
It's not that bad, I've already written almost all the code I needed
for launchd and the helper tool before I decided to switch to
authopen. Still it would have been nice if that would have been
possible.
Regards,
Georg _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden