• 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: authorization services
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: authorization services


  • Subject: Re: authorization services
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 24 Aug 2009 09:35:35 -0700

On Mon, Aug 24, 2009 at 6:10 AM, Rick C.<email@hidden> wrote:
> if i can follow up please about authorization services i just want to be sure i'm on the right track.  if i'm just trying to do a simple movePath but i don't have access is the only way to get access by using authorizationExecuteWithPrivileges?  i keep reading about how i should avoid it if possible.  i have followed authorizing in a simple self-restricted application according to the docs but i don't really see what i can do after i get authorization...maybe i'm missing something?  i guess i'm just looking for confirmation if i must use authorizationExecuteWithPrivileges or not, and if so can i control the timeout because the docs seem to say it needs authentication every time.  thanks again for the help and patience,

Yes, AEWP is what you'll need.  You factor out your "move the file"
code into a helper tool and execute that with AEWP.

Much of the advice about avoiding AEWP is to steer people away from
needlessly elevating their own privileges, and when they do need to do
so ensuring that they take the time to read and understand the sample
code.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: authorization services
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >Re: authorization services (From: Kyle Sluder <email@hidden>)
 >Re: authorization services (From: "Rick C." <email@hidden>)

  • Prev by Date: Re: leak in a sound function
  • Next by Date: Re: Simple array controller master-detail binding problem
  • Previous by thread: Re: authorization services
  • Next by thread: Re: authorization services
  • Index(es):
    • Date
    • Thread