facebook

Password Protect an App

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #349419 Reply

    herb200mph
    Participant

    How can an app be protected with a password?

    Client would like a password requirement to access an app. No username required, just a password or passcode.

    The idea is that if a user loses their iPhone, no one can access the app information w/o the password.

    How do we do this?

    #349422 Reply

    Code_A
    Member

    You can use localStorage to save to the password. Upon app startup just check to see if the value is null, if it is then have then use gotoScreen to have the user set a password, if it’s not then require them to enter the password on the startup screen.

    For extra protection, you can encrypt the password using the crypto-JS libraries.

    Hope this helps.

    #349429 Reply

    herb200mph
    Participant

    Thanks for the reply.

    That sounds like a solution – BUT – in somewhat of an alien language to us in that we are not programmers.

    It would be helpful if there were some sort of step-by-step process we could follow to make the “need password” happen on an app.

    Is there such a reference location?

    #349443 Reply

    Code_A
    Member

    Here is Cincy’s localStorage How-To. Maybe it will help.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Password Protect an App

You must be logged in to post in the forum log in