• 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: AXIsProcessTrusted / AXMakeProcessTrusted
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AXIsProcessTrusted / AXMakeProcessTrusted


  • Subject: Re: AXIsProcessTrusted / AXMakeProcessTrusted
  • From: Guy English <email@hidden>
  • Date: Sat, 14 May 2005 20:15:08 -0400

Hi again,

    We'll I've implemented the AXMakeProcessTrusted thing through a
setuid helper tool just like the AuthSample does. My issue now is that
I run my helper fine but when I come back to my main application
AXIsProcessTrusted still isn't true. I even tried waiting for some
time to see if it was something that'd take a minute to kick in. If I
quit my app and re-run it then it *is* trusted - leading me to believe
one can't call AXMakeProcessTrusted on a running app and have it
"promoted" to trusted status.

    Now I can come up with work arounds, most of them ugly, but is
this the expected behavior? And if not does anyone have a guess as to
why it's doing this?

Thanks for any help,
Guy

On 5/14/05, Guy English <email@hidden> wrote:
> Great! Thanks for the help!
>
> Guy
>
> > > AXMakeProcessTrusted is permanent.  The basic idea would be to:
> > >
> > > if (! AXAPIEnabled() && ! AXIsProcessTrusted())
> > > {
> > >    // as root do
> > >    AXMakeProcessTrusted (path_to_exe);
> > > }
>
 _______________________________________________
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

  • Follow-Ups:
    • Re: AXIsProcessTrusted / AXMakeProcessTrusted
      • From: Eric Schlegel <email@hidden>
References: 
 >AXIsProcessTrusted / AXMakeProcessTrusted (From: Guy English <email@hidden>)
 >Re: AXIsProcessTrusted / AXMakeProcessTrusted (From: Eric Schlegel <email@hidden>)
 >Re: AXIsProcessTrusted / AXMakeProcessTrusted (From: Guy English <email@hidden>)

  • Prev by Date: Re: FSCopyObjectAsync: useless and crippled
  • Next by Date: makeDocumentWithContentsOfURL:ofType:error:
  • Previous by thread: Re: AXIsProcessTrusted / AXMakeProcessTrusted
  • Next by thread: Re: AXIsProcessTrusted / AXMakeProcessTrusted
  • Index(es):
    • Date
    • Thread