Re: Authorization panel
Re: Authorization panel
- Subject: Re: Authorization panel
- From: Kirt Cathey <email@hidden>
- Date: Thu, 6 Oct 2005 15:14:43 +0900
Good point Wade. :-)) I had to make the documents from my apps 'portable'
across domains/entities. Apple's API implementation would also be much
easier to implement.
Regards,
Kirt
On 10/6/05, Wade Tregaskis <email@hidden> wrote:
>
> >> Is there a way in Cocoa to bring up an Authorization panel, like the
> >> one that appears if a user tries something (say copy a file they
> >> don't have writes to), so a user CAN modify a file if they know the
> >> administrator username and password. I've looked around, and either
> >> there doesn't seem to be an easy solution, or I'm just not asking the
> >> write question yet.
>
> If you're wanting to verify against system users (i.e. those with
> accounts on the computer, not just arbitrary users specific to your
> application), you really have no excuse not to use Apple's API's
> dedicated to this. Indeed, rolling your own is Evilâ„¢ and will cause
> premature balding. ;)
>
> http://developer.apple.com/referencelibrary/Security/idxAuthorization-
> date.html
>
> Plenty of example code, as well as the formal documentation and
> references. What you want in essence is the AuthorizationCopyRights
> function and friends.
>
> Wade Tregaskis (AIM/iChat, Yahoo, Gizmo & Skype: wadetregaskis, ICQ:
> 40056898, MSN: email@hidden, AV iChat & email:
> email@hidden, Jabber: email@hidden &
> email@hidden)
> -- Sed quis custodiet ipsos custodes?
>
>
--
Kirt Cathey
WorkPapers Development
_______________________________________________
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