Re: Authorization...?
Re: Authorization...?
- Subject: Re: Authorization...?
- From: Jens Bauer <email@hidden>
- Date: Tue, 21 May 2002 11:10:08 +0200
Hi Dylan,
On Mon, 20 May, 2002, Dylan Barrie <email@hidden> wrote:
>
I'm quite new to the whole Cocoa programming scene, so for my first real
>
"project", I thought I'd develop a GUI to a terminal application that
>
I'm developing. This terminal app requires root access, and I've got a
>
few questions:
>
>
1) Is there any built in Cocoa function to create the "Admin access
>
required" dialog, as seen in the Install application?
>
2) If so, how is it used/where can I find more info?
>
3) If not, what would be the recommended way of creating one, and
>
confirming that the password is correct?
>
>
Thanks in advance,
Yes, you want to take a look at the "AuthSample", this sample-code is
available from Apple's snippet archive:
<
http://developer.apple.com/samplecode/>
<
http://developer.apple.com/samplecode/Sample_Code/Security/AuthSample.htm>
The direct URL is:
<
ftp://ftp.apple.com/developer/Sample_Code/Security/AuthSample.sit>
Love,
Jens
--
Jens Bauer, Faster Software.
-Let's make the World better, shall we ?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.