Re: Authenticate a user
Re: Authenticate a user
- Subject: Re: Authenticate a user
- From: Manfred Bergmann <email@hidden>
- Date: Fri, 21 Oct 2005 09:34:12 +1000
Am 21.10.2005 um 07:25 schrieb Chris Blunt:
Hi,
Is it possible (maybe using the security frameworks) to require a
user to enter their username, password on application launch? I
don't need it to authorise any super-user commands, just to
authenticate that the current user can run the application. I am in
effect looking to duplicate the password panel that appears when
coming out of a screen saver...
If the User can or cannot run an application can be made sure by
checking the file access bits.
But you can use the normal AuthorizationCreate() and
AuthorizationCopyRights() procedure to let the security framework
create a window and let the user enter his password again.
Manfred
_______________________________________________
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