Re: Security Framework - Save authentication
Re: Security Framework - Save authentication
- Subject: Re: Security Framework - Save authentication
- From: m <email@hidden>
- Date: Sat, 23 Jul 2005 15:20:41 -0700
On Jul 23, 2005, at 1:45 PM, Jerry Brace wrote:
The application I am currently developing requires to prompt the
user to authenticate to enable a command line tool to launch with
administrative rights.
By following the article at Stepwise.com (http://www.stepwise.com/
Articles/Technical/2001-03-26.01.html) I am able to prompt the user
and run the command line tool.
My question is - how can I save this information so that I do not
need to prompt the user again?
The command line tool I am using is from the Apple Power Management
DDK which allows the computer to wake from sleep at a particular time.
I know that there are many bad ways to store the user's info - but
I'd like to know the right way to go about it. Basically I would
only need to prompt the user a second time when their password has
changed.
I think this is in the archives. Search for "self repairing setuid".
Also, see <http://developer.apple.com/documentation/Security/
Conceptual/authorization_concepts/02authconcepts/
chapter_2_section_8.html>
_murat
_______________________________________________
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