Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Accessing Keychain from Dashboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accessing Keychain from Dashboard


I am trying to build in Keychain functionality within my Dashboard Widget.
After I was able to get it running, I got some concerns.
At the moment I am trying to access passwords, stored by an other application.
(The widget is meant to be an extension for that application)
But when running it, Keychain asks me to grant DashboardClient access to that password.
Since all Widgets are run by DashboardClient, ALL Widgets would be granted to access the password.
This is not the way it was intended and opens a security hole.

Since Widgets are only executed as Plug-Ins of DashboardClient they are not stand alone applications.
They are created as Cocoa Bundles.

Is there a way to only grant access to a Bundle or Plug-In?
Also, how reasonable is it to do such things from within a Widget?
Even if I'd like to store my own passwords, Keychain would allow all Widgets to access them, not only mine.

Any suggestion I highly appreciated.



Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

Visit the Apple Store online or at retail locations.

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.