title: Authentication of user for offline app
body: <p>I have simple jQuery Mobile site created using asp.net mvc 2 and uses basic forms authentication to grant access to the site.</p>
  
  <p>The application is a simple work diary that allows a regional manager to view details about the current issues assigned to a regional team.</p>
  
  <p>When a mobile connection is available the app works very well but due to lack of signal we need to investigate the possibility of making the core of the application available offline.  I have been researching the possibility of taking the app offline using html 5 but cannot find any information on authenticating users.</p>
  
  <p>The app is very basic and essentially has two different list screens that drill into the job details.</p>
  
  <pre><code>1. Login    
      1.1 Job List    
          2. Job Details
  
      1.2 Team Diary    
          2. Job Details
  </code></pre>
  
  <p>I believe that it would be easy enough to create an offline version of the data that would allow browsing of the diary when a connection is not available but I cannot find any information about a site that requires authentication before it gets to the pages that are allowed to be taken offline.</p>
  
  <p>The content is not sensitive data but obviously the client does not want anyone to be able to browse the work diary on what is a public facing website.</p>
  
  <p>What is the preferred way of authenticating users in a site that could potentially be used offline? </p>