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

authorization services


  • Subject: authorization services
  • From: "Rick C." <email@hidden>
  • Date: Sun, 23 Aug 2009 22:49:58 -0700 (PDT)

hello,

what i need for my project is a simple authorization from time to time if for example a file is being moved and i don't have access.  i'm just starting to learn about authorization services and maybe this is what i need to do although it looks a bit complex for my needs.  what i have found in the archives and what actually works for me is using NSApplescript with a shell script and administrator privileges flag and it prompts for a password when needed.  the only issue is it doesn't remember the time stamp and will ask for a password multiple times within 5 minutes.  if only i can control that time stamp or if i can use NSTask it could work too, but i'm not sure there's a way to get the typical authentication window by using NSTask.  i definitely don't need to do something like run my project as root or anything like that.  hope this makes sense and any pointers are much appreciated.  thank you for your time,

rick



_______________________________________________

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

  • Prev by Date: Re: Using Core Data NSManagedObject subclasses outside of a managed object context
  • Next by Date: Re: authorization services
  • Previous by thread: Re: Simple array controller master-detail binding problem
  • Next by thread: Re: authorization services
  • Index(es):
    • Date
    • Thread