Re: Assistance with authentication
Re: Assistance with authentication
- Subject: Re: Assistance with authentication
- From: Jerry Krinock <email@hidden>
- Date: Thu, 29 Sep 2005 13:33:27 -0700
- Thread-topic: Assistance with authentication
on 05/09/29 08:47, Mark Williams at email@hidden wrote:
> One of my applications copies files, and sometimes those files
> have permissions that mean an NSFileManager copy will not work. Now
> of course I would like to remedy this but I just cannot wrap my head
> around authservices.
> Can any one out there help me to write a helper tool that will
> copy these files with admin privs? And of course assist me with the
> glue?
Here is my understanding: You must download MoreAuthSample from Apple's
Sample code (search the ADC website), understand enough of it so you can
modify it's "Helper Tool" to do what you want. You then include some of the
MoreAuthSample files in your project, package in your Helper Tool and launch
it as required from your project. Since I was not familiar with Carbon, it
was about 2 days' work for me. There are some wrappers you can find out
there which people have written, which are much easier to use, but
supposedly these are not approved by Apple Security.
_______________________________________________
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