require user to login in at login screen before giving access to iPhone app that accesses secure web
        Posted  
        
            by MikeN
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by MikeN
        
        
        
        Published on 2010-03-21T21:48:42Z
        Indexed on 
            2010/03/21
            22:21 UTC
        
        
        Read the original article
        Hit count: 162
        
iphone
|objective-c
On iPhone, how do I show a login screen to get username and password before giving access to iPhone app? Also, does the iPhone store a cookie to the secure website like a web browser?
I was thinking of giving users to my website a long API key to store in the settings of their iPhone instead of asking them to login with a username/password (seems to be the Slicehost iPhone app approach.) Which is the best way to get a user to login securely? I have full control over the design of the iPhone app and website so have a lot of flexibility.
© Stack Overflow or respective owner