Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 845363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:26:19+00:00 2026-05-15T06:26:19+00:00

What is a good approach for credential checks for windows mobile app. Knowing that

  • 0

What is a good approach for credential checks for windows mobile app. Knowing that it is an occasionally connected device.

Should I keep the user credential into the local database? If the credential doesn’t exist in the db, try to see if it has internet access and do the check through a web service?

If both fails then display an error message ?

If logins is successful then store the credential to the local database store then upon next login go against the database first?

Is this a good approach?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T06:26:20+00:00Added an answer on May 15, 2026 at 6:26 am

    I have a similar situation in mobile software we use, we use the following approach:

    • The first login on the device needs a connection to verify credentials.
      It will store the last used username and a hash of the password locally.
    • The next login, using the same username will hash the entered
      password and compare it with the local one. If they match, the user
      is logged in without the need of an internet connection. If it fails the
      user gets two more attemps, at which point the software asks to verify
      the credentials through the master server.
    • The next login, using a different username will always use
      an internet connection to verify. And if it succeeds, it will follow
      step one again.

    Obviously, you need to be aware of the fact that this approach is vulnerable to a brute force attack. There is no way you can prevent a hacker from doing a lot of attemps. You can only try to slow them down (using a slow hashing algorithm and other nags). If you are really worried about such attacks; using a connected login verification method is your only way to go.

    There are other things to consider by the way. Is the device connected frequently or really infrequently? Do a lot of different users login on the device while a connection is not available? Answers to such questions could lead you to a single login implementation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can someone please advise a good approach to this problem: On page load, an
Good day. I have to pass the session value to a business logic layer,
I have a java application that reads a resource folder containing a bunch of
I'm implementing enumeration using a base class that defines a variety of methods. The
I'm working on a internal web application (only employees can log in) and need
Is storing a list of 1000 instance of my custom class to the session
how can I load an html page inside a div. With the 'object' tag
Basically I write an application which copies/moves files from the local file system to
I have got a class which contains more then 150 fields. i need the
A company I work for develops winforms .net applications in which users are required

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.