• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Pre-authorizing authopen
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Pre-authorizing authopen (From: Georg Schölly <email@hidden>)
 >Re: Pre-authorizing authopen (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: Pre-authorizing authopen
  • Next by Date: Crash reporter starting stack trace
  • Previous by thread: Re: Pre-authorizing authopen
  • Next by thread: Crash reporter starting stack trace
  • Index(es):
    • Date
    • Thread