Keychain access incorporated in application
Hello,
I had a question about something I am trying to implement but I am not even sure if it is possible, so please forgive my ignorance.
I am trying to create an application that will be able to download a text file from my website on a regular basis. Nothing on this text file is by any means high security information, but i would also rather not have it out there in the open. I looked at the commoncrypto library but that just seemed way more detailed and complicated than this needed to be.
Here is what I was thinking:
Is it someway possible to include a username/password in the keychain in my application , the same username/password needed for the website inorder for the file to be accessed. This way anyone that downloads my app can access this info without entering the credentials(dont want to inconvenience the user), and anyone else that tries to access this file(from a browser)will not have the credentials to do so...
i understand this is not the most secure but i think for my purposes, if this is possible, this should be good enough. Does the logic make sense? Would this be easily implementable, relatively speaking? Can someone point me in the right direction as far as sample code or something? i am newbie to the development game....help me out please...
|