Authentication/Authorization
Authentication/Authorization
- Subject: Authentication/Authorization
- From: Jerry LeVan <email@hidden>
- Date: Tue, 23 Mar 2004 11:25:10 -0500
I am trying to figure out how this Authentication/Authorization stuff
works...
Mamasan ( a dead source? ) has bits and fragments and the Apple doc is
"referentially opaque" to me ;(
I have a small app (ShowPMQueue) that currently needs root in two places
both needs are triggered when the user clicks an 'add' button or a
'delete'
button. The app will then either add an element to the queue or delete
an
element from the queue.
I would like to be assured that when the add or delete buttons are
clicked
the user actually is able to be an "administrator".
Do I have to put up a dialog and ask for administrative info and then
pass
that info to some api and let the api tell me that the user has the
right info?
I am current running the app with setuid=root ( dangerous but user
interaction
is limited to the two buttons and filling out a form that is used to
construct
a date for the event and an string id).
Pointers to a simple example along the above lines would be nice.
Thanks
Jerry
_______________________________________________
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.