Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Nial

macrumors newbie
Original poster
Dec 11, 2007
12
0
I'm working on a dashboard widget that needs to store a services password. Having checked Apple's Developer documentation, it's suggested that the standard Preference Key system is unencoded and as such probably not the best way to store sensitive data.

What's the safest way to store sensitive data so that it may remain persistent across restarts, etc?
 
I'm assuming that to use the keychain directly you'll need to write a Cocoa plugin that wraps the keychain API so it can be used in JavaScript. Or if there is a command-line tool that does this you could use that too (or write your own).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.