• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Authenticate a user
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Authenticate a user (From: Chris Blunt <email@hidden>)

  • Prev by Date: Error: parse error before 'AT_NAME' token
  • Next by Date: Re: Authenticate a user
  • Previous by thread: Re: Authenticate a user
  • Next by thread: Performance issue with CoreData SQLite Data Store
  • Index(es):
    • Date
    • Thread