Re: authenticate per user
Re: authenticate per user
- Subject: Re: authenticate per user
- From: Lindsey Spratt <email@hidden>
- Date: Wed, 9 Nov 2005 09:30:38 -0500
You might have a file that your app accesses such that the file is only
accessible by bob and not by sue (using normal Mac OS X access
control). Your app attempts to access this file and if the access fails
(which it will when sue is using the app), then it goes into
'authenticate' mode. If the access succeeds, then the app continues as
requested.
This special file would need to have its access control attributes set
as part of installing/setting-up your app.The app itself would have to
be installed such that sue couldn't modify it.
Regards,
Lindsey Spratt
On Nov 9, 2005, at 6:41 AM, email@hidden wrote:
Is there a way to differentiate between who authorizes an action?
I would like to have one account (of an admin) on the machine be able
to do things (run my app), but not another.
In other words, if bob is the authorized user, and he logs in then he
can run the app.
If sue logs in, she can't. But the authorize dialog would then show
and bob could log in instead, and run the app.
Any ideas?
_______________________________________________
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