• 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: Authorization panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Authorization panel


  • Subject: Re: Authorization panel
  • From: Finlay Dobbie <email@hidden>
  • Date: Tue, 18 Oct 2005 14:31:48 +0100

On 06/10/05, Chad Armstrong <email@hidden> wrote:
> Is there a way in Cocoa to bring up an Authorization panel, like the
> one that appears if a user tries something (say copy a file they
> don't have writes to), so a user CAN modify a file if they know the
> administrator username and password.  I've looked around, and either
> there doesn't seem to be an easy solution, or I'm just not asking the
> write question yet.

The solution is not "easy" because there are several potential
problems from a security point of view that you need to consider.

Take a look at the following sample code from Apple:
<http://developer.apple.com/samplecode/MoreAuthSample/MoreAuthSample.html>

And the Authorization Services conceptual documentation:
<http://developer.apple.com/documentation/Security/Conceptual/authorization_concepts/index.html>

These are not "Cocoa" per se, but they are C API in the Security
framework which work perfectly fine from a Cocoa application.

 -- Finlay
 _______________________________________________
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: 
 >Authorization panel (From: Chad Armstrong <email@hidden>)

  • Prev by Date: Re: Convert Windows file path to Mac File path
  • Next by Date: Re: using DiskArbitration framework on Panther
  • Previous by thread: Re: Authorization panel
  • Next by thread: awakeFromNib not called
  • Index(es):
    • Date
    • Thread