• 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
NSApplicationPresentation not honored when asking for admin rights ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSApplicationPresentation not honored when asking for admin rights ??


  • Subject: NSApplicationPresentation not honored when asking for admin rights ??
  • From: Jérome Foucher <email@hidden>
  • Date: Wed, 09 Mar 2011 14:09:25 +0100

Hello there !

I have a kiosk application, that disables the Apple menu, Force-Quit, and so on, using NSApplicationPresentation
Inside this Kiosk app, I'd like to have some preferences, only accessible to an admin user. Thus I ask for admin rights using SFAuthorization.
But when the dialog that asks for admin login+pass is displayed, Force-Quit is re-enabled, and the Dock becomes visible....

I'm sure it's possible to block that because if you set the screen-saver to ask for a password before it can be dismissed, you cannot force-quit nor access the Dock while the dialog is being displayed. But that might involve private APIs...

Anybody has a hint ?

Thanks
Jérome_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Question about user interface.
  • Next by Date: iPhone: NSFileManager/NSDirectoryEnumerator Crash?
  • Previous by thread: Re: Question about user interface.
  • Next by thread: iPhone: NSFileManager/NSDirectoryEnumerator Crash?
  • Index(es):
    • Date
    • Thread