Re: How to authenticate user
Re: How to authenticate user
- Subject: Re: How to authenticate user
- From: Finlay Dobbie <email@hidden>
- Date: Wed, 29 Aug 2001 20:21:15 +0100
On Wednesday, August 29, 2001, at 06:55 pm, Jeff Nelson wrote:
How can you set up an interface/implementation that allows the user to
login as an admin? Is it a pre-made panel? or do you construct it
yourself? It seems like a pretty standardized feature ("click the lock
to gain access"), but I can't seem to find anything about it in cocoa
documenation.
This depends on what you need to do. If you need to execute processes as
root, you should use the Security framework. There is a tutorial and
example code over at
http://www.stepwise.com
If you want to do something else, you'll have to specify what you're
trying to do. Also, this has been discussed many times before, and there
is now an archive search engine, so you might like to look there
first :-)
-- Finlay