.NET desktop App remembering login to a webservice
        Posted  
        
            by pete the pagan-gerbil
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by pete the pagan-gerbil
        
        
        
        Published on 2010-03-16T12:41:38Z
        Indexed on 
            2010/03/16
            12:46 UTC
        
        
        Read the original article
        Hit count: 282
        
I am in the planning stages of a .NET desktop app that will communicate with a web service. The web service requires a username and password, and a common feature in this sort of app is to save the user's credentials for the next logon.
I've thought of a few ways of achieving this, but I am not sure what the most secure way would be. Should it be stored encrypted in a file (and could someone nefarious copy that file to their own machine and hence logon as the original person), or in the registry somehow (I've not done any registry work before, is it secure and would it work)? Are there any other options I might not have thought of?
© Stack Overflow or respective owner