Re: Pre-authorizing authopen
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=2JnTgJFlIExfdom5JELsXWlOG8tLT9orJ+XjIgi0bqQ=; b=pXkDhvS+DptNCtCr0r2S0sfIho8HdEcAZ5xpTOm5HtqAzE4jm5QWZSjKhuwnTls90C ZCyiHQ6VPa2iUskHQ4R/27EVdllepSoG8jwnnFXTUokXn3OENnsQEhcokoTiNiP5Q8KM SF04jPXPSZUCAaN+BckzGEs5JIbS7Q5zuXXyg= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=Cs9GYZREUD0smNKHzh9JnBiHMhk7dsn8Epz+y86aSUj+2h4+2cnY9eny4H6o2vLbpr 0WXlfyChS7srDwapCxlLJnyJ9iY03J0ZnPzfgoCOf8Kmsy++j6nmUKAm8yteUgmnmakJ ixb7cywO839zBQ+UcGUwVGfEr68Pwc5bwTpZ0= On 06.10.2009, at 12:02, Chris Suter wrote: Hi Georg, I do it this way because I have to get a file descriptor back to my application. 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. Regards, Georg _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Tue, Oct 6, 2009 at 8:09 PM, Georg Schölly <georg.schoelly@gmail.com
wrote: 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? 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Georg Schölly