My iPhone App connects to the web service using a username and password.
I prefer to save credentials in the application settings (set of parameters), for example Mail App. Is it safe enough? Is it possible to save these values ββin the keychain (using the application settings)?
Edit:
I want my users to enter their credentials in the application settings of my application . Usually I can get this data in my application using NSUserDefaults. But Application Preferences saves the data in plain text and is not encrypted or hashed. Is there a safe way? For instance. I know the keychain on the iPhone, and I find it wonderful! Can I use a keychain to store the credentials entered in the application settings?
Food For Thought: How Does Apple Do It? I mean, when I want to use Mail App, I provide my username and password in the application settings. Are these values ββstored in clear text?
source share